2026-05-01 11:12:13 +03:00

16 lines
313 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str
jwt_secret_key: str
jwt_algorithm: str = "HS256"
access_token_expire_minutes: int = 30
frontend_url: str = "http://localhost:5173"
class Config:
env_file = ".env"
settings = Settings()