201 előtti mentés
This commit is contained in:
@@ -85,11 +85,18 @@ class Settings(BaseSettings):
|
||||
SMTP_PASSWORD: Optional[str] = None
|
||||
|
||||
# --- External URLs ---
|
||||
FRONTEND_BASE_URL: str = "https://dev.profibot.hu"
|
||||
FRONTEND_BASE_URL: str = "https://dev.servicefinder.hu"
|
||||
BACKEND_CORS_ORIGINS: List[str] = Field(
|
||||
default=[
|
||||
"http://localhost:3001",
|
||||
"https://dev.profibot.hu"
|
||||
# Production domains
|
||||
"https://app.servicefinder.hu", # Production Public UI
|
||||
"https://admin.servicefinder.hu", # Production Admin UI
|
||||
"https://dev.servicefinder.hu", # API domain itself
|
||||
|
||||
# Development and internal fallbacks
|
||||
"http://192.168.100.10:8503", # Internal IP fallback
|
||||
"http://localhost:5173", # Local dev fallback (Vite)
|
||||
"http://localhost:3001", # Local dev fallback (Nuxt/other)
|
||||
],
|
||||
description="Comma-separated list of allowed CORS origins. Set via ALLOWED_ORIGINS environment variable."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user