forked from Mirrors/gomuks
web/main: fix path for auth request
This commit is contained in:
parent
4abeaf2250
commit
24eba06330
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue