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
|
||||
source_code = "https://github.com/realaravinth/dumbserve"
|
||||
commercial = false
|
||||
allow_demo = true
|
||||
allow_registration = true
|
||||
|
||||
[server]
|
||||
# Please set a unique value, your mCaptcha instance's security depends on this being
|
||||
|
|
|
@ -92,12 +92,10 @@ impl Files {
|
|||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct Settings {
|
||||
pub debug: bool,
|
||||
pub commercial: bool,
|
||||
// pub database: Database,
|
||||
pub server: Server,
|
||||
pub source_code: String,
|
||||
pub files: Files,
|
||||
pub allow_registration: bool,
|
||||
}
|
||||
|
||||
#[cfg(not(tarpaulin_include))]
|
||||
|
|
Loading…
Reference in a new issue