mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 16:35:17 +00:00
Add verbose mode configuration option
This commit is contained in:
@ -23,6 +23,7 @@ pub struct Config {
|
||||
pub database: DatabaseConfig,
|
||||
pub proxy: Option<String>,
|
||||
pub force_https: bool,
|
||||
pub verbose_mode: bool,
|
||||
}
|
||||
|
||||
/// Globally available configuration
|
||||
@ -80,6 +81,8 @@ impl Config {
|
||||
},
|
||||
|
||||
force_https: Config::yaml_bool(parsed, "force-https"),
|
||||
|
||||
verbose_mode: Config::yaml_bool(parsed, "verbose-mode"),
|
||||
};
|
||||
|
||||
// Save new configuration in memory
|
||||
|
Reference in New Issue
Block a user