From 9a8a1028588435d89a3ea175bac9c9b63229b0f9 Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Mon, 28 Oct 2024 20:06:24 +0800 Subject: [PATCH] try --- backend/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/main.py b/backend/app/main.py index 1f03d4f..c7d4388 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -38,7 +38,7 @@ if settings.BACKEND_CORS_ORIGINS: CORSMiddleware, allow_origins=[ str(origin).strip("/") for origin in settings.BACKEND_CORS_ORIGINS - ] + ["http://localhost:3000"]+["http://localhost:5173"]+["http://localhost:5173/aboutUs"], + ] + ["http://localhost:3000"]+["http://localhost:5173"]+["http://localhost:5173/aboutUs"]+["https://cms.oneandallmusic.net"]+["https://oneandallmusic.net"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"],