about summary refs log tree commit diff
path: root/kittybox-rs/templates/src/onboarding.rs
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/templates/src/onboarding.rs
parentee5b6dca7147c905a79447963761e7cd1f38cabc (diff)
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/templates/src/onboarding.rs')
-rw-r--r--kittybox-rs/templates/src/onboarding.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/kittybox-rs/templates/src/onboarding.rs b/kittybox-rs/templates/src/onboarding.rs
index 9d0f2e1..5a9f226 100644
--- a/kittybox-rs/templates/src/onboarding.rs
+++ b/kittybox-rs/templates/src/onboarding.rs
@@ -3,8 +3,8 @@ markup::define! {
         h1[style="text-align: center"] {
             "Welcome to Kittybox"
         }
-        script[type="module", src="/static/onboarding.js"] {}
-        link[rel="stylesheet", href="/static/onboarding.css"];
+        script[type="module", src="/.kittybox/static/onboarding.js"] {}
+        link[rel="stylesheet", href="/.kittybox/static/onboarding.css"];
         form.onboarding[action="", method="POST"] {
             noscript {
                 p {
@@ -23,7 +23,7 @@ markup::define! {
                     "Good news though - the code is " b { "open-source AND free software" }
                     " (under GNU AGPLv3) "
                     "and I promise to not obfuscate it or minify it. "
-                    a[href="/static/onboarding.js"] { "Here" }
+                    a[href="/.kittybox/static/onboarding.js"] { "Here" }
                     "'s the link - you can try reading it so you'll be 200% sure "
                     "it won't steal your cookies or turn your kitty into a soulless monster."
                     @markup::raw("<!-- do cats even have souls? I'm not sure. But this code won't steal their souls anyway. -->")