about summary refs log tree commit diff
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mod.rs4
-rw-r--r--src/frontend/templates/onboarding.rs2
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 "