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
I realize that a specific CORS Header is required to make this work, but it would still be nice, if we could change the URL without having to create our own fork and branch of this repository.
In fact, simply pointing to the filter_mathjaxloader | httpsurl Moodle setting should be fine. You could add some documentation to the plugin that explains that changing that setting without ensuring the correct CORS header will affect this.
Alternatively, a separate config option just for this plugin would also be fine. There you could add the info about the CORS issue right next to the setting.
In any case, a hard-coded URL is not ideal. We have a strict CSP for our Moodle instance that blocks almost all other domains and we use our own installation of MathJax that we point filter_mathjaxloader | httpsurl to.
The text was updated successfully, but these errors were encountered:
This was mentioned in #992, specifically in this comment, so I want to focus on this specific issue.
Right now the MathJax URL is hard-coded to point to
cdn.jsdelivr.net
:moodle-qtype_stack/vle_specific.php
Lines 188 to 194 in dc19c91
I realize that a specific CORS Header is required to make this work, but it would still be nice, if we could change the URL without having to create our own fork and branch of this repository.
In fact, simply pointing to the
filter_mathjaxloader | httpsurl
Moodle setting should be fine. You could add some documentation to the plugin that explains that changing that setting without ensuring the correct CORS header will affect this.Alternatively, a separate config option just for this plugin would also be fine. There you could add the info about the CORS issue right next to the setting.
In any case, a hard-coded URL is not ideal. We have a strict CSP for our Moodle instance that blocks almost all other domains and we use our own installation of MathJax that we point
filter_mathjaxloader | httpsurl
to.The text was updated successfully, but these errors were encountered: