Files
GuessTheRAL/app/config.py
2026-10-26 21:56:23 +01:00

19 lines
497 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
admin_password: str = "changeme"
secret_key: str = "change-this-secret"
database_url: str = "sqlite:///./data/guesstheral.db"
linkedin_user_agent: str = (
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"
)
class Config:
env_file = ".env"
extra = "ignore"
settings = Settings()