summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
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,