feat(settings): add general.public_base_url default
This commit is contained in:
@@ -36,6 +36,9 @@ _DEFAULT_WEBHOOK_TEMPLATE = (
|
|||||||
# All recognised settings and their defaults.
|
# All recognised settings and their defaults.
|
||||||
# Plugin settings are stored as "plugin.<name>" and handled separately.
|
# Plugin settings are stored as "plugin.<name>" and handled separately.
|
||||||
DEFAULTS: dict[str, Any] = {
|
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,
|
"session.lifetime_hours": 8,
|
||||||
"data.retention_days": 90,
|
"data.retention_days": 90,
|
||||||
"monitors.poll_interval_seconds": 60,
|
"monitors.poll_interval_seconds": 60,
|
||||||
|
|||||||
Reference in New Issue
Block a user