feat(settings): cache PUBLIC_BASE_URL into app.config on reload
This commit is contained in:
@@ -56,6 +56,7 @@ async def _reload_app_config() -> None:
|
||||
SESSION_LIFETIME_HOURS=fresh.get("session.lifetime_hours", 8),
|
||||
DATA_RETENTION_DAYS=fresh.get("data.retention_days", 90),
|
||||
MONITORS_POLL_INTERVAL=fresh.get("monitors.poll_interval_seconds", 60),
|
||||
PUBLIC_BASE_URL=fresh.get("general.public_base_url", ""),
|
||||
SMTP=to_smtp_cfg(fresh),
|
||||
WEBHOOK=to_webhook_cfg(fresh),
|
||||
ANSIBLE=to_ansible_cfg(fresh),
|
||||
|
||||
Reference in New Issue
Block a user