Specify app name
This commit is contained in:
parent
c2e65f6365
commit
d4ff53cee8
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ pub struct FileConfig {
|
||||||
pub mail: Option<String>,
|
pub mail: Option<String>,
|
||||||
pub lang: Option<String>,
|
pub lang: Option<String>,
|
||||||
pub onion: Option<String>,
|
pub onion: Option<String>,
|
||||||
|
pub app_name: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FileConfig {
|
impl FileConfig {
|
||||||
|
@ -21,6 +22,7 @@ impl FileConfig {
|
||||||
Self {
|
Self {
|
||||||
scheme: Some("http".to_string()),
|
scheme: Some("http".to_string()),
|
||||||
port: Some(8080),
|
port: Some(8080),
|
||||||
|
app_name: Some("EWP".to_string()),
|
||||||
..FileConfig::default()
|
..FileConfig::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,6 +46,7 @@ impl FileConfig {
|
||||||
mail: test(a.mail, d.mail),
|
mail: test(a.mail, d.mail),
|
||||||
lang: test(a.lang, d.lang),
|
lang: test(a.lang, d.lang),
|
||||||
onion: test(a.onion, d.onion),
|
onion: test(a.onion, d.onion),
|
||||||
|
app_name: test(a.app_name, d.app_name),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue