Merge pull request #100 from BlessedRebuS/fix/config-defaults

Fix/config defaults
This commit is contained in:
Lorenzo Venerandi
2026-02-23 21:02:02 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -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"),