aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/routes/ui')
-rw-r--r--server/src/routes/ui/style.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/server/src/routes/ui/style.rs b/server/src/routes/ui/style.rs
index 9a7fc48..171c3ce 100644
--- a/server/src/routes/ui/style.rs
+++ b/server/src/routes/ui/style.rs
@@ -14,13 +14,11 @@ macro_rules! concat_files {
[ $($files),* ]
.into_iter()
.map(|n| {
- read_to_string(
- PathBuf::from_str(file!()).unwrap()
- .parent().unwrap()
- .parent().unwrap()
- .parent().unwrap()
- .join(n),
- )
+ read_to_string({
+ let p = PathBuf::from_str(file!()).unwrap().parent().unwrap().join($base).join(n);
+ log::debug!("load {p:?}");
+ p
+ })
.unwrap()
})
.collect::<Vec<_>>()