diff options
author | Vika <vika@fireburn.ru> | 2025-01-02 13:52:19 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-02 13:52:19 +0300 |
commit | 4432fbcee01a3e78fc3ff176077a8f784ae8317f (patch) | |
tree | 07ea9ab24c808c89392b80422ba1d3816393854b /src/lib.rs | |
parent | 95e00e79726f4c29230cf9e39c76ea15ad9adf46 (diff) | |
download | kittybox-4432fbcee01a3e78fc3ff176077a8f784ae8317f.tar.zst |
Vendor fonts into Kittybox
These fonts are licensed under OFL 1.1, which means I can freely redistribute them. Ain't that nice? Change-Id: Ide32286305680865652db17c8d482b5ac0f20a50
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs index fe5b800..3fb6845 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -296,7 +296,7 @@ St: Clone + Send + Sync + 'static .route("/.kittybox/health", get(health_check::<S>)) .nest("/.kittybox/login", crate::login::router::<St, S>()) .route( - "/.kittybox/static/{path}", + "/.kittybox/static/{*path}", axum::routing::get(crate::frontend::statics) ) .route("/.kittybox/coffee", get(teapot_route)) @@ -311,7 +311,7 @@ St: Clone + Send + Sync + 'static .layer(tower_http::set_header::SetResponseHeaderLayer::appending( axum::http::header::CONTENT_SECURITY_POLICY, axum::http::HeaderValue::from_static( - "default-src https:; img-src https:; script-src 'self'; style-src 'self' fonts.googleapis.com; script-src-attr 'none'; base-uri 'none'" + "default-src https:; img-src https:; script-src 'self'; style-src 'self'; script-src-attr 'none'; base-uri 'none'" ) )) } |