diff --git a/src/config.rs b/src/config.rs index 56a1037..ba92d08 100644 --- a/src/config.rs +++ b/src/config.rs @@ -14,6 +14,7 @@ pub struct FileConfig { pub mail: Option, pub lang: Option, pub onion: Option, + pub app_name: Option, } impl FileConfig { @@ -21,6 +22,7 @@ impl FileConfig { Self { scheme: Some("http".to_string()), port: Some(8080), + app_name: Some("EWP".to_string()), ..FileConfig::default() } } @@ -44,6 +46,7 @@ impl FileConfig { mail: test(a.mail, d.mail), lang: test(a.lang, d.lang), onion: test(a.onion, d.onion), + app_name: test(a.app_name, d.app_name), } } }