Files
ha_explore/backend/app/config.py
2026-02-21 16:55:10 +01:00

14 lines
321 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
ha_base_url: str = "http://10.0.0.2:8123"
ha_token: str = ""
database_url: str = "sqlite:///./data/ha_explorer.db"
cors_origins: list[str] = ["http://localhost:5173"]
model_config = {"env_prefix": ""}
settings = Settings()