From 7d0319462ea3d5dfd7053240a7fe35d10432e461 Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Mon, 17 Mar 2025 12:19:37 +0100 Subject: [PATCH] Fix cors --- backend/app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 79f8f07..a7128ca 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -63,7 +63,7 @@ class Settings(BaseSettings): ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440 # 1 day # CORS configuration - BACKEND_CORS_ORIGINS: List[str] = ["http://localhost:3000"] + BACKEND_CORS_ORIGINS: List[str] = ["http://localhost:3000", "https://eventspace.pragmazest.com"] # Admin user FIRST_SUPERUSER_EMAIL: Optional[str] = None