diff --git a/src/config.rs b/src/config.rs index 8ad95b5..efb6c0a 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,6 +11,10 @@ pub struct Config { pub logger: LoggerConfig, } +fn default_motd() -> String { + "breeze file server (v%version%) - currently hosting %uplcount% files".to_string() +} + #[derive(Deserialize)] pub struct EngineConfig { /// The url that the instance of breeze is meant to be accessed from. @@ -56,10 +60,6 @@ pub struct CacheConfig { pub mem_capacity: usize, } -fn default_motd() -> String { - "breeze file server (v%version%) - currently hosting %uplcount% files".to_string() -} - #[derive(Deserialize)] pub struct HttpConfig { pub listen_on: String,