feat: rm useless fields from settings

This commit is contained in:
Aravinth Manivannan 2022-08-14 15:45:12 +05:30
parent 37db856cbb
commit 01ca83b623
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 0 additions and 5 deletions

View file

@ -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

View file

@ -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))]