[themeSwitch] css loading fails with error (#495)

This commit is contained in:
DefinitelyNotSpicy
2025-01-26 15:28:44 +01:00
committed by GitHub
parent a1809330aa
commit d9c2c885fa

View File

@@ -248,7 +248,7 @@
console.log(key, path);
const styleSheet = document.createElement("link");
const serverURL =
window.Location.origin +
window.location.origin +
document.querySelector("base")?.getAttribute("href") ?? "/";
styleSheet.setAttribute(
"href",