feat: rm useless fields from settings
This commit is contained in:
parent
37db856cbb
commit
01ca83b623
2 changed files with 0 additions and 5 deletions
|
@ -1,8 +1,5 @@
|
||||||
debug = true
|
debug = true
|
||||||
source_code = "https://github.com/realaravinth/dumbserve"
|
source_code = "https://github.com/realaravinth/dumbserve"
|
||||||
commercial = false
|
|
||||||
allow_demo = true
|
|
||||||
allow_registration = true
|
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
# Please set a unique value, your mCaptcha instance's security depends on this being
|
# Please set a unique value, your mCaptcha instance's security depends on this being
|
||||||
|
|
|
@ -92,12 +92,10 @@ impl Files {
|
||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
pub struct Settings {
|
pub struct Settings {
|
||||||
pub debug: bool,
|
pub debug: bool,
|
||||||
pub commercial: bool,
|
|
||||||
// pub database: Database,
|
// pub database: Database,
|
||||||
pub server: Server,
|
pub server: Server,
|
||||||
pub source_code: String,
|
pub source_code: String,
|
||||||
pub files: Files,
|
pub files: Files,
|
||||||
pub allow_registration: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(tarpaulin_include))]
|
#[cfg(not(tarpaulin_include))]
|
||||||
|
|
Loading…
Reference in a new issue