diff --git a/apps/jscad-web/main.js b/apps/jscad-web/main.js index 06f5d27..9e57ba1 100644 --- a/apps/jscad-web/main.js +++ b/apps/jscad-web/main.js @@ -367,6 +367,7 @@ try{ hasRemoteScript = await remote.init( (script, url) => { // run remote script + url = new URL(url, appBase).toString() editor.setSource(script, url) jscadScript({ script, base: url }) welcome.dismiss()