1
0
Fork 0
forked from Mirrors/gomuks

web/main: fix path for auth request

This commit is contained in:
Tulir Asokan 2024-10-20 18:16:43 +03:00
parent 4abeaf2250
commit 24eba06330

View file

@ -25,7 +25,7 @@ styleTags.textContent = `
` `
document.head.appendChild(styleTags) document.head.appendChild(styleTags)
fetch("/_gomuks/auth", { method: "POST" }).then(resp => { fetch("_gomuks/auth", { method: "POST" }).then(resp => {
if (resp.ok) { if (resp.ok) {
createRoot(document.getElementById("root")!).render( createRoot(document.getElementById("root")!).render(
<StrictMode> <StrictMode>