feat: markdown implementation #18

Merged
Anri merged 9 commits from feat/md into main 2023-04-11 01:25:45 +02:00
Showing only changes of commit d4ff53cee8 - Show all commits

View file

@ -14,6 +14,7 @@ pub struct FileConfig {
pub mail: Option<String>,
pub lang: Option<String>,
pub onion: Option<String>,
pub app_name: Option<String>,
}
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),
}
}
}