Skip to content

Commit bd81b55

Browse files
Remove window reference
1 parent 3e4cfef commit bd81b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/modloader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Mod } from "./mod.js";
55
let info = console.log;
66

77
const requiredContentProperties = ["type"];
8-
let currentPath = window.location.href;
8+
let currentPath = globalThis.location.href;
99
let prefix = false;
1010

1111
async function loadContentFile(path, name, registry) {

0 commit comments

Comments
 (0)