-
-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Description
When I load problems in the library browser on WW 2.16RC1, I see JS console error messages about
math4-overrides.cssmath4-overrides.jsmath4-coloring.css
as at least by me these files do not seem to exist. (Error messages below.)
I assume that the same sort of issue would occur when a problem was loaded via html2xml in some other context using one of the formats that expects these files to exist.
It seems that a reasonable fix is to
cd /opt/webwork/webwork2/htdocs/themes/math4 ; /usr/bin/touch math4-overrides.css math4-overrides.js math4-coloring.css
inside docker-entrypount.sh. So far I only tested manually doing this inside the container.
Note: The math4-coloring.css file exists only in htdocs/themes/math4-red and htdocs/themes/math4-green but not in the plain htdocs/themes/math4.
about:srcdoc:1 Refused to apply style from 'https://webwork2.technion.ac.il/webwork2_files/themes/math4/math4-coloring.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
about:srcdoc:1 Refused to apply style from 'https://webwork2.technion.ac.il/webwork2_files/themes/math4/math4-overrides.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
about:srcdoc:34 GET https://webwork2.technion.ac.il/webwork2_files/themes/math4/math4-overrides.js net::ERR_ABORTED 404 (Not Found)
about:srcdoc:34 GET https://webwork2.technion.ac.il/webwork2_files/themes/math4/math4-overrides.js net::ERR_ABORTED 404 (Not Found)
Metadata
Metadata
Assignees
Labels
No labels