feat(settings): cache PUBLIC_BASE_URL into app.config on reload

This commit is contained in:
2026-04-15 20:29:13 -04:00
parent fdbcc58385
commit 2c68ba5094
+1
View File
@@ -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),