diff options
author | Vika <vika@fireburn.ru> | 2025-04-20 09:16:35 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-04-20 10:01:04 +0300 |
commit | b02882d1d586dbc481a4c002e6e9a5892daabc9f (patch) | |
tree | 194b30281834c536493b23a09344f3ef3e98ac11 /src/lib.rs | |
parent | 3207c8ea57eac714417494e06ce0f82864b7ff1e (diff) | |
download | kittybox-b02882d1d586dbc481a4c002e6e9a5892daabc9f.tar.zst |
Expose custom CSS as a route feature/themes
The admin dashboard (that's not done yet) should include methods for setting this field. For now, it could very well be set through editing the database manually. #ManualUntilItHurts Change-Id: Ibef6fca5f1d19f237e660bf3a13b4d72c8c08a0a
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 0df5e5d..c32137b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -273,6 +273,10 @@ where "/.kittybox/static/{*path}", axum::routing::get(crate::frontend::statics), ) + .route( + "/.kittybox/custom_style.css", + get(crate::frontend::custom_css::<S>), + ) .route("/.kittybox/coffee", get(teapot_route)) .nest( "/.kittybox/micropub/client", |