diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-05 23:42:13 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-05 23:42:13 +0100 |
commit | 8fd96b46e73a0e7f984305e487e383a471dfcf88 (patch) | |
tree | f14544a25e15da93a0cf752fbc7baa1228d75088 /server/src/routes/ui/style.rs | |
parent | df36a85b54fd427cc0914320d29aa4f005e5aff7 (diff) | |
download | jellything-8fd96b46e73a0e7f984305e487e383a471dfcf88.tar jellything-8fd96b46e73a0e7f984305e487e383a471dfcf88.tar.bz2 jellything-8fd96b46e73a0e7f984305e487e383a471dfcf88.tar.zst |
widecards and season views
Diffstat (limited to 'server/src/routes/ui/style.rs')
-rw-r--r-- | server/src/routes/ui/style.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/routes/ui/style.rs b/server/src/routes/ui/style.rs index a719b67..c935c8a 100644 --- a/server/src/routes/ui/style.rs +++ b/server/src/routes/ui/style.rs @@ -12,7 +12,7 @@ use rocket::{ macro_rules! concat_files { ([$base: expr], $($files:literal),*) => {{ - #[cfg(debug_assertions)] + #[cfg(any(debug_assertions, feature = "hot-css"))] { use std::{fs::read_to_string, path::PathBuf, str::FromStr}; [ $($files),* ] @@ -28,7 +28,7 @@ macro_rules! concat_files { .collect::<Vec<_>>() .join("\n") } - #[cfg(not(debug_assertions))] + #[cfg(not(any(debug_assertions, feature = "hot-css")))] concat!($(include_str!(concat!($base, "/", $files))),*).to_string() }}; } |