Skip to content

Commit d9c2c88

Browse files
[themeSwitch] css loading fails with error (#495)
1 parent a180933 commit d9c2c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/themeSwitch/themeSwitchMain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
console.log(key, path);
249249
const styleSheet = document.createElement("link");
250250
const serverURL =
251-
window.Location.origin +
251+
window.location.origin +
252252
document.querySelector("base")?.getAttribute("href") ?? "/";
253253
styleSheet.setAttribute(
254254
"href",

0 commit comments

Comments
 (0)