16 lines
392 B
Python
16 lines
392 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
SECRET_KEY: str = "dev-secret-key-change-in-production"
|
|
ALGORITHM: str = "HS256"
|
|
ACCESS_TOKEN_EXPIRE_MINUTES: int = 10080 # 7 days
|
|
DATABASE_URL: str = "sqlite:///./mi_ruta_limpia.db"
|
|
FRONTEND_URL: str = "http://localhost:8081"
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
|
|
|
|
settings = Settings()
|