mirror of
https://github.com/usestrix/strix.git
synced 2026-10-07 02:58:26 +00:00
Add STRIX_APP_URL viewer setting for the relay base URL
This commit is contained in:
parent
11c7eef082
commit
da9c606c67
1 changed files with 10 additions and 0 deletions
|
|
@ -72,6 +72,15 @@ class IntegrationSettings(BaseSettings):
|
||||||
perplexity_api_key: str | None = Field(default=None, alias="PERPLEXITY_API_KEY")
|
perplexity_api_key: str | None = Field(default=None, alias="PERPLEXITY_API_KEY")
|
||||||
|
|
||||||
|
|
||||||
|
class ViewerSettings(BaseSettings):
|
||||||
|
model_config = _BASE_CONFIG
|
||||||
|
|
||||||
|
# Base URL of the Strix relay the local viewer proxies to for email
|
||||||
|
# verification and encrypted report delivery. The browser never talks to
|
||||||
|
# the relay directly; the local server is the only caller.
|
||||||
|
app_url: str = Field(default="https://app.strix.ai", alias="STRIX_APP_URL")
|
||||||
|
|
||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
model_config = _BASE_CONFIG
|
model_config = _BASE_CONFIG
|
||||||
|
|
||||||
|
|
@ -79,3 +88,4 @@ class Settings(BaseSettings):
|
||||||
runtime: RuntimeSettings = Field(default_factory=RuntimeSettings)
|
runtime: RuntimeSettings = Field(default_factory=RuntimeSettings)
|
||||||
telemetry: TelemetrySettings = Field(default_factory=TelemetrySettings)
|
telemetry: TelemetrySettings = Field(default_factory=TelemetrySettings)
|
||||||
integrations: IntegrationSettings = Field(default_factory=IntegrationSettings)
|
integrations: IntegrationSettings = Field(default_factory=IntegrationSettings)
|
||||||
|
viewer: ViewerSettings = Field(default_factory=ViewerSettings)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue