about summary refs log tree commit diff
path: root/kittybox-rs/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-05-26 00:32:05 +0300
committerVika <vika@fireburn.ru>2022-05-26 00:32:05 +0300
commiteecbf770e1eb0f7e49e894c168780eb06a69c04a (patch)
tree502e152a15c1f83ae4d6e1aa5680026f4a55151c /kittybox-rs/src
parent8eedee638a5cc54b03baedea3697280eef719469 (diff)
downloadkittybox-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.js4
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
+}