feat: base-path support (ROOT_PATH) for serving under /portal
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user