This commit is contained in:
Philip Cheung 2024-10-28 20:06:24 +08:00
parent 79ed3d41c4
commit 9a8a102858
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ if settings.BACKEND_CORS_ORIGINS:
CORSMiddleware, CORSMiddleware,
allow_origins=[ allow_origins=[
str(origin).strip("/") for origin in settings.BACKEND_CORS_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_credentials=True,
allow_methods=["*"], allow_methods=["*"],
allow_headers=["*"], allow_headers=["*"],