Merge pull request #100 from BlessedRebuS/fix/config-defaults
Fix/config defaults
This commit is contained in:
@@ -23,7 +23,7 @@ dashboard:
|
||||
# if set to "null" this will Auto-generates random path if not set
|
||||
# can be set to "/dashboard" or similar <-- note this MUST include a forward slash
|
||||
# secret_path: super-secret-dashboard-path
|
||||
secret_path: test
|
||||
secret_path: null
|
||||
|
||||
backups:
|
||||
path: "backups"
|
||||
|
||||
@@ -194,8 +194,8 @@ class Config:
|
||||
canary_token_tries=canary.get("token_tries", 10),
|
||||
dashboard_secret_path=dashboard_path,
|
||||
probability_error_codes=behavior.get("probability_error_codes", 0),
|
||||
exports_path=exports.get("path"),
|
||||
backups_path=backups.get("path"),
|
||||
exports_path=exports.get("path", "exports"),
|
||||
backups_path=backups.get("path", "backups"),
|
||||
backups_enabled=backups.get("enabled", False),
|
||||
backups_cron=backups.get("cron"),
|
||||
database_path=database.get("path", "data/krawl.db"),
|
||||
|
||||
Reference in New Issue
Block a user