controlpanel-old/backend/settings.py

17 lines
312 B
Python

from pydantic import BaseSettings
class Settings(BaseSettings):
dev_mode: bool = False
dev_npm_port: int = 3000
frontend_path: str = "frontend"
database_path: str = "db.json"
deploy_tls: bool = False
delpoy_path: str = "localhost:8000"
secret_key: str
settings = Settings()