mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-16 12:45:42 +02:00
Multitenancy
This commit is contained in:
@@ -47,6 +47,11 @@ class Settings(BaseSettings):
|
||||
minio_bucket: str = "pechub"
|
||||
minio_use_ssl: bool = False
|
||||
|
||||
# ── Admin sicurezza ───────────────────────────────────────────────────────
|
||||
# Header X-Admin-Key richiesto sugli endpoint /api/v1/tenants
|
||||
# Se vuoto → protezione disabilitata (solo sviluppo)
|
||||
admin_secret_key: str = ""
|
||||
|
||||
# ── CORS ──────────────────────────────────────────────────────────────────
|
||||
cors_origins: str = "http://localhost:3000,http://localhost:5173"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user