diff --git a/bases/rsptx/interactives/runestone/fitb/js/fitb.js b/bases/rsptx/interactives/runestone/fitb/js/fitb.js index e177de73f..7eca3e6f0 100644 --- a/bases/rsptx/interactives/runestone/fitb/js/fitb.js +++ b/bases/rsptx/interactives/runestone/fitb/js/fitb.js @@ -145,9 +145,11 @@ export default class FITB extends RunestoneBase { ); break; // Allow for local imports, usually from problems defined outside the Runestone Components. + // Relative URL should be relative to document base, not this library default: - import_promises.push( - import(/* webpackIgnore: true */ import_), + const absoluteUrl = new URL(import_, document.baseURI).href; + import_promises.push( + import(/* webpackIgnore: true */ absoluteUrl), ); break; }