diff options
author | Vika <vika@fireburn.ru> | 2022-05-28 21:05:19 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-06-02 20:59:45 +0300 |
commit | 558c4078fd6b5c10bfbcac826774335904807e39 (patch) | |
tree | aab6adef0954241132d556466a40d0066e6d60ed /kittybox-rs/src/frontend | |
parent | ee5b6dca7147c905a79447963761e7cd1f38cabc (diff) | |
download | kittybox-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.js | 2 |
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" } |