Hardcode CORS credentials disabled and remove env toggle

This commit is contained in:
2026-03-01 17:16:13 -03:00
parent bfc89fe5ce
commit 1c57084ebf
7 changed files with 5 additions and 9 deletions

View File

@@ -35,7 +35,6 @@ PROVIDER_BASE_URL_ALLOWLIST=[]
PUBLIC_BASE_URL=http://localhost:8000
CORS_ORIGINS=["http://localhost:5173","http://localhost:3000"]
CORS_ALLOW_CREDENTIALS=false
VITE_API_BASE=
# Production baseline overrides (set explicitly for live deployments):
@@ -49,5 +48,4 @@ VITE_API_BASE=
# PROVIDER_BASE_URL_ALLOWLIST=["api.openai.com"]
# PUBLIC_BASE_URL=https://api.example.com
# CORS_ORIGINS=["https://app.example.com"]
# CORS_ALLOW_CREDENTIALS=false
# VITE_API_BASE=https://api.example.com/api/v1