Merge branch 'master' of https://github.com/jottocraft/dtps
diff --git a/scripts/core.js b/scripts/core.js
index ca3049d..718c72b 100644
--- a/scripts/core.js
+++ b/scripts/core.js
@@ -38,7 +38,7 @@
     readableVer: "v3.0.3",
     env: window.jottocraftSatEnv || "prod",
     classes: [],
-    baseURL: String(document.currentScript.src).split('/')[0] + "//" + String(document.currentScript.src).split('/')[2],
+    baseURL: document.currentScript.src ? (String(document.currentScript.src).split('/')[0] + "//" + String(document.currentScript.src).split('/')[2]) : "https://powerplus.app",
     unstable: window.localStorage.dtpsLoaderPref == "canary" || window.localStorage.dtpsLoaderPref == "debugging" || String(document.currentScript.src).includes("http://localhost"),
     gradebookExpanded: false,
     updates: [],