feat(settings): add general.public_base_url default

This commit is contained in:
2026-04-15 20:29:02 -04:00
parent dbe50794d3
commit fdbcc58385
+3
View File
@@ -36,6 +36,9 @@ _DEFAULT_WEBHOOK_TEMPLATE = (
# All recognised settings and their defaults.
# Plugin settings are stored as "plugin.<name>" and handled separately.
DEFAULTS: dict[str, Any] = {
# General — external URL for install scripts, share links, alert deep-links.
# Empty = fall back to the current request's Host header.
"general.public_base_url": "",
"session.lifetime_hours": 8,
"data.retention_days": 90,
"monitors.poll_interval_seconds": 60,