Admin mode. Data driven content sections. Bugfixes.
This commit is contained in:
@@ -6,6 +6,14 @@ class Settings(BaseSettings):
|
||||
CORS_ORIGINS: list[str] = ["http://localhost:4200", "http://localhost:3000"]
|
||||
ENV: str = "development"
|
||||
|
||||
# Auth
|
||||
ADMIN_USERNAME: str = ""
|
||||
ADMIN_PASSWORD: str = ""
|
||||
GOOGLE_CLIENT_ID: str = ""
|
||||
GOOGLE_REDIRECT_URI: str = "http://localhost:4200"
|
||||
JWT_SECRET_KEY: str = "change-me-in-production"
|
||||
JWT_EXPIRE_MINUTES: int = 1440 # 24 hours
|
||||
|
||||
model_config = {"env_prefix": "KMTN_"}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user