From 2c68ba5094fb64aade83befb776912f6043cd6f6 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 15 Apr 2026 20:29:13 -0400 Subject: [PATCH] feat(settings): cache PUBLIC_BASE_URL into app.config on reload --- roundtable/settings/routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roundtable/settings/routes.py b/roundtable/settings/routes.py index a75910c..894460b 100644 --- a/roundtable/settings/routes.py +++ b/roundtable/settings/routes.py @@ -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),