feat: persist map tile settings (provider/style/API keys) server-side on user record; unbake Thunderforest default key into backend config (THUNDERFOREST_DEFAULT_KEY) served via profile
This commit is contained in:
@@ -28,6 +28,11 @@ class Settings(BaseSettings):
|
||||
# The Authorization Callback Domain there must match BASE_URL's host.
|
||||
strava_client_id: Optional[str] = Field(None, env="STRAVA_CLIENT_ID")
|
||||
strava_client_secret: Optional[str] = Field(None, env="STRAVA_CLIENT_SECRET")
|
||||
# Default Thunderforest tile API key, served to clients that haven't set
|
||||
# their own (a public, client-side tile key). Override per-deployment.
|
||||
thunderforest_default_key: str = Field(
|
||||
"872984f587484873a74ea454662ffacb", env="THUNDERFOREST_DEFAULT_KEY"
|
||||
)
|
||||
# Files
|
||||
file_store_path: str = Field("/data/files", env="FILE_STORE_PATH")
|
||||
# Environment
|
||||
|
||||
Reference in New Issue
Block a user