From 45b3a5acc5fdae7d9ced9607e0f29352bf7a3748 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 23 Mar 2022 04:24:02 +0300 Subject: Get rid of legacy code, fix mistakes in fluff text and comments --- src/frontend/mod.rs | 4 +--- src/frontend/templates/onboarding.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/frontend') 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(db: D, endpoints: IndiewebEndpoints) -> impl Filter< hyper::Uri::from_static("/onboarding") )) as Box } - _ => { - 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 " -- cgit 1.4.1