mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix darkmode endpoint
This commit is contained in:
parent
6181bd035d
commit
faad5863aa
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ class darkMode {
|
|||
body: JSON.stringify({ darkmode: isDark }),
|
||||
};
|
||||
const send = await fetch(
|
||||
`${location.href.split("/").slice(0, -1).join("/")}/darkmode`,
|
||||
`${location.origin}/darkmode`,
|
||||
data,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue