feat: base-path support (ROOT_PATH) for serving under /portal
build-image / test (push) Successful in 33s
build-image / build (push) Successful in 29s

Links, form actions, and redirects are prefixed with the gateway path prefix so
the portal can be served at intervalsicu.farhoodlabs.com/portal (gateway strips
/portal; FastAPI root_path generates correct URLs). Connector URL is configurable.
This commit is contained in:
2026-07-04 21:25:12 -04:00
parent 2e09009e11
commit 3908251f6e
8 changed files with 33 additions and 20 deletions
+2
View File
@@ -41,6 +41,8 @@ def app_url(tmp_path, monkeypatch):
admin_group="intervalsicu-mcp-admins",
intervals_api_base="https://intervals.icu/api/v1",
oidc_scopes="openid email profile groups",
root_path="",
mcp_url="https://intervalsicu.farhoodlabs.com/mcp",
)
return appmod.create_app(cfg), url