diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-01 10:22:44 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-01 10:22:44 +0200 |
commit | 48afcd0d86b3b20da0fc8e289fecdda59eb290fe (patch) | |
tree | 4975a10842e6d7a5d6529d64cba1d9910e670001 /server/src/routes | |
parent | 3fa55dba1b0ca408a10e7456a6d4308dd114c2f6 (diff) | |
download | jellything-48afcd0d86b3b20da0fc8e289fecdda59eb290fe.tar jellything-48afcd0d86b3b20da0fc8e289fecdda59eb290fe.tar.bz2 jellything-48afcd0d86b3b20da0fc8e289fecdda59eb290fe.tar.zst |
fix new bundler
Diffstat (limited to 'server/src/routes')
-rw-r--r-- | server/src/routes/ui/style.rs | 12 |
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<_>>() |