diff options
Diffstat (limited to 'server/src/main.rs')
-rw-r--r-- | server/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main.rs b/server/src/main.rs index 00543ce..250e29c 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -18,7 +18,7 @@ pub mod database; pub mod library; pub mod routes; -pub static CONF: Lazy<GlobalConfig> = Lazy::new(|| load_global_config()); +pub static CONF: Lazy<GlobalConfig> = Lazy::new(load_global_config); #[launch] fn rocket() -> _ { @@ -28,7 +28,7 @@ fn rocket() -> _ { .init(); #[cfg(feature = "bypass-auth")] - warn!("authentification bypass enabled"); + log::warn!("authentification bypass enabled"); let remuxer = RemuxerContext::new(); let library = Library::open(&CONF.library_path).unwrap(); |