diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-30 11:24:14 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-30 11:24:14 +0200 |
commit | d6a039a10ac3c81d410beb9b648d29524ca1e278 (patch) | |
tree | fa521277e3ea94f796e21071f4d2b372c5b9830c /server/src/config.rs | |
parent | a2ef3f6ec4c830611fde1a2e935588ccbbc61c03 (diff) | |
download | jellything-d6a039a10ac3c81d410beb9b648d29524ca1e278.tar jellything-d6a039a10ac3c81d410beb9b648d29524ca1e278.tar.bz2 jellything-d6a039a10ac3c81d410beb9b648d29524ca1e278.tar.zst |
smaller fixes and remove useless deps
Diffstat (limited to 'server/src/config.rs')
-rw-r--r-- | server/src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/config.rs b/server/src/config.rs index 27074b4..68148dd 100644 --- a/server/src/config.rs +++ b/server/src/config.rs @@ -18,6 +18,7 @@ struct Config { server: crate::Config, base: jellybase::Config, logic: jellylogic::Config, + import: jellyimport::Config, } pub async fn load_config() -> Result<()> { @@ -36,6 +37,7 @@ pub async fn load_config() -> Result<()> { *jellycache::CONF_PRELOAD.lock().unwrap() = Some(config.cache); *jellylogic::CONF_PRELOAD.lock().unwrap() = Some(config.logic); *jellybase::CONF_PRELOAD.lock().unwrap() = Some(config.base); + *jellyimport::CONF_PRELOAD.lock().unwrap() = Some(config.import); *crate::CONF_PRELOAD.lock().unwrap() = Some(config.server); *jellyui::CONF_PRELOAD.lock().unwrap() = Some(config.ui); |