From f0b152c430910ee2bbe151b009cd0acdc7b968e1 Mon Sep 17 00:00:00 2001 From: Essam AbdelSabour Date: Fri, 13 Dec 2024 15:42:15 +0100 Subject: [PATCH] fix cors issue --- backend/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main.py b/backend/src/main.py index 938be82..7c19c7c 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -7,7 +7,7 @@ app = FastAPI() -origins = ["http://localhost:5173", "https://thf-climate-frontend-run-1020174331409.europe-west3.run.app"] +origins = ["http://localhost:5173", "https://thf-climate.de", "https://thf-climate-frontend-run-1020174331409.europe-west3.run.app"] app.add_middleware( CORSMiddleware,