✨ Configurable default settings (map center, currency, tile)
This commit is contained in:
parent
67a7c3e03d
commit
d5b5ba8c84
@ -23,6 +23,11 @@ class Settings(BaseSettings):
|
|||||||
OIDC_CLIENT_SECRET: str = ""
|
OIDC_CLIENT_SECRET: str = ""
|
||||||
OIDC_REDIRECT_URI: str = ""
|
OIDC_REDIRECT_URI: str = ""
|
||||||
|
|
||||||
|
DEFAULT_TILE: str = "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png"
|
||||||
|
DEFAULT_CURRENCY: str = "€"
|
||||||
|
DEFAULT_MAP_LAT: float = 48.107
|
||||||
|
DEFAULT_MAP_LNG: float = -2.988
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
env_file = "storage/config.yml"
|
env_file = "storage/config.yml"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user