about summary refs log tree commit diff
path: root/kittybox-rs/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/src/frontend')
-rw-r--r--kittybox-rs/src/frontend/mod.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/kittybox-rs/src/frontend/mod.rs b/kittybox-rs/src/frontend/mod.rs
index 0797ba6..e2187c9 100644
--- a/kittybox-rs/src/frontend/mod.rs
+++ b/kittybox-rs/src/frontend/mod.rs
@@ -267,13 +267,14 @@ pub async fn catchall<D: Storage>(
     }
 }
 
-static STYLE_CSS: &[u8] = include_bytes!("./style.css");
-static ONBOARDING_JS: &[u8] = include_bytes!("./onboarding.js");
-static ONBOARDING_CSS: &[u8] = include_bytes!("./onboarding.css");
+const STYLE_CSS: &[u8] = include_bytes!("./style.css");
+const ONBOARDING_JS: &[u8] = include_bytes!("./onboarding.js");
+const ONBOARDING_CSS: &[u8] = include_bytes!("./onboarding.css");
+const INDIEAUTH_JS: &[u8] = include_bytes!("./indieauth.js");
 
-static MIME_JS: &str = "application/javascript";
-static MIME_CSS: &str = "text/css";
-static MIME_PLAIN: &str = "text/plain";
+const MIME_JS: &str = "application/javascript";
+const MIME_CSS: &str = "text/css";
+const MIME_PLAIN: &str = "text/plain";
 
 pub async fn statics(Path(name): Path<String>) -> impl IntoResponse {
     use axum::http::header::CONTENT_TYPE;