You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an instructor uploads a .html file, an HTML file redirecting to https://${canvas_domain}/api/v1/courses/${course_id}/module_item_redirect/${file_id} will be put under modules in place of the actual file. This results in the actual content not being downloaded, but you end up with the file (${var} are redacted variables)
<html>
<head>
<title>${file_title}</title>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; URL=https://${canvas_domain}/api/v1/courses/${course_id}/module_item_redirect/${file_id}" />
</head>
<body>
<p>Redirecting you to <a href="https://${canvas_domain}/api/v1/courses/${course_id}/module_item_redirect/${file_id}">${file_name}</a></p>
</body>
</html>
The text was updated successfully, but these errors were encountered:
I'm getting this too. I wonder if it has to do with courses that are private vs public? I only have private courses so I have nothing to compare to. I was about to create a project similar to this for myself but since I've found this I might be able to look into this.
Bear with me as it might take a while for time to free up.
When an instructor uploads a
.html
file, an HTML file redirecting tohttps://${canvas_domain}/api/v1/courses/${course_id}/module_item_redirect/${file_id}
will be put under modules in place of the actual file. This results in the actual content not being downloaded, but you end up with the file (${var}
are redacted variables)The text was updated successfully, but these errors were encountered: