From 558c4078fd6b5c10bfbcac826774335904807e39 Mon Sep 17 00:00:00 2001 From: Vika Date: Sat, 28 May 2022 21:05:19 +0300 Subject: feat: group endpoints under `.kittybox` Actually got the idea from https://xeiaso.net/, who groups xer website's endpoints under the `.within` folder. --- kittybox-rs/src/frontend/onboarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kittybox-rs/src/frontend') 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" } -- cgit 1.4.1