about summary refs log tree commit diff
path: root/kittybox-rs/src/frontend
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-05-28 21:05:19 +0300
committerVika <vika@fireburn.ru>2022-06-02 20:59:45 +0300
commit558c4078fd6b5c10bfbcac826774335904807e39 (patch)
treeaab6adef0954241132d556466a40d0066e6d60ed /kittybox-rs/src/frontend
parentee5b6dca7147c905a79447963761e7cd1f38cabc (diff)
downloadkittybox-558c4078fd6b5c10bfbcac826774335904807e39.tar.zst
feat: group endpoints under `.kittybox`
Actually got the idea from https://xeiaso.net/, who groups xer
website's endpoints under the `.within` folder.
Diffstat (limited to 'kittybox-rs/src/frontend')
-rw-r--r--kittybox-rs/src/frontend/onboarding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/src/frontend/onboarding.js b/kittybox-rs/src/frontend/onboarding.js
index 89ad84a..c5a1481 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("/onboarding", {
+    await fetch("/.kittybox/onboarding", {
         method: "POST",
         body: JSON.stringify(json),
         headers: { "Content-Type": "application/json" }