From ba4d782687b5eb8d91fd881a7cb9d0adce7dd9f0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 13 Feb 2023 18:00:27 +0100 Subject: licences are boring, lets show the source code instead. --- src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 86e427d..b0822e8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,14 +3,14 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2023 metamuffin */ -pub mod animation; pub mod layout; pub mod pages; +pub mod source; pub mod wellknown; -use animation::*; use pages::*; use rocket::{catchers, fairing::AdHoc, http::Header, routes}; +use source::*; use wellknown::*; #[tokio::main] @@ -22,6 +22,7 @@ async fn main() { res.set_header(Header::new("server", "blub")); Box::pin(async {}) })) + .manage(prepare_source()) .mount( "/", routes![ @@ -30,7 +31,7 @@ async fn main() { r_contact, r_projects, r_pgp_key, - r_wubbel, + r_source, r_wellknown_security, r_wellknown_matrix_server, r_wellknown_matrix_client, -- cgit v1.2.3-70-g09d2