diff options
author | Vika <vika@fireburn.ru> | 2022-05-26 00:32:05 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-05-26 00:32:05 +0300 |
commit | eecbf770e1eb0f7e49e894c168780eb06a69c04a (patch) | |
tree | 502e152a15c1f83ae4d6e1aa5680026f4a55151c /kittybox-rs/src | |
parent | 8eedee638a5cc54b03baedea3697280eef719469 (diff) | |
download | kittybox-eecbf770e1eb0f7e49e894c168780eb06a69c04a.tar.zst |
frontend: fix onboarding sending the request to the wrong place
Diffstat (limited to 'kittybox-rs/src')
-rw-r--r-- | kittybox-rs/src/frontend/onboarding.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kittybox-rs/src/frontend/onboarding.js b/kittybox-rs/src/frontend/onboarding.js index 7f9aa32..89ad84a 100644 --- a/kittybox-rs/src/frontend/onboarding.js +++ b/kittybox-rs/src/frontend/onboarding.js @@ -75,7 +75,7 @@ form.onsubmit = async (event) => { }).filter(feed => feed.name == "" || feed.slug == "") }; - await fetch("/", { + await fetch("/onboarding", { method: "POST", body: JSON.stringify(json), headers: { "Content-Type": "application/json" } @@ -84,4 +84,4 @@ form.onsubmit = async (event) => { window.location.href = window.location.href; } }) -} \ No newline at end of file +} |