summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-02-13 18:00:27 +0100
committermetamuffin <metamuffin@disroot.org>2023-02-13 18:00:27 +0100
commitba4d782687b5eb8d91fd881a7cb9d0adce7dd9f0 (patch)
tree2e6674a8252993b04756b798ef7742dfbda8ee1a /src/main.rs
parent78ac98926ebd97c5166a6c88b5abd9e85883462b (diff)
downloadmetamuffin-website-ba4d782687b5eb8d91fd881a7cb9d0adce7dd9f0.tar
metamuffin-website-ba4d782687b5eb8d91fd881a7cb9d0adce7dd9f0.tar.bz2
metamuffin-website-ba4d782687b5eb8d91fd881a7cb9d0adce7dd9f0.tar.zst
licences are boring, lets show the source code instead.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
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 <metamuffin.org>
*/
-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,