diff options
author | Vika <vika@fireburn.ru> | 2022-03-23 04:24:02 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-03-23 04:24:02 +0300 |
commit | 45b3a5acc5fdae7d9ced9607e0f29352bf7a3748 (patch) | |
tree | c2c2317a072ebdac56c665d7a2649adf34393b8c /src/frontend | |
parent | 4c2a961474153218b0d3f65898df6e1c7bb12359 (diff) | |
download | kittybox-45b3a5acc5fdae7d9ced9607e0f29352bf7a3748.tar.zst |
Get rid of legacy code, fix mistakes in fluff text and comments
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/mod.rs | 4 | ||||
-rw-r--r-- | src/frontend/templates/onboarding.rs | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index 49faf59..b594fc6 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -290,9 +290,7 @@ pub fn homepage<D: Storage>(db: D, endpoints: IndiewebEndpoints) -> impl Filter< hyper::Uri::from_static("/onboarding") )) as Box<dyn warp::Reply> } - _ => { - todo!("Handle cases where either main h-card or main h-feed are deleted") - } + _ => unreachable!() } }) } diff --git a/src/frontend/templates/onboarding.rs b/src/frontend/templates/onboarding.rs index f95e1e6..9d0f2e1 100644 --- a/src/frontend/templates/onboarding.rs +++ b/src/frontend/templates/onboarding.rs @@ -21,7 +21,7 @@ markup::define! { p { "Sadly, it's very hard or even impossible to recreate this without any JavaScript. " "Good news though - the code is " b { "open-source AND free software" } - " (under MIT (X11) or Apache-2.0 license - your choice) " + " (under GNU AGPLv3) " "and I promise to not obfuscate it or minify it. " a[href="/static/onboarding.js"] { "Here" } "'s the link - you can try reading it so you'll be 200% sure " |