diff --git a/roundtable/settings/routes.py b/roundtable/settings/routes.py index 894460b..6b45894 100644 --- a/roundtable/settings/routes.py +++ b/roundtable/settings/routes.py @@ -90,6 +90,8 @@ async def save_general(): form = await request.form async with current_app.db_sessionmaker() as db: async with db.begin(): + await set_setting(db, "general.public_base_url", + (form.get("general.public_base_url", "") or "").strip()) await set_setting(db, "session.lifetime_hours", int(form.get("session.lifetime_hours", 8))) await set_setting(db, "data.retention_days", diff --git a/roundtable/templates/settings/general.html b/roundtable/templates/settings/general.html index fec48dc..7c85287 100644 --- a/roundtable/templates/settings/general.html +++ b/roundtable/templates/settings/general.html @@ -9,6 +9,18 @@

General

+
+ + +
+ External URL where this Roundtable instance is reachable from the outside. + Leave blank to use whatever hostname you're currently browsing via. + Used by install scripts, share links, and alert notifications. +
+
+