try
This commit is contained in:
parent
79ed3d41c4
commit
9a8a102858
|
@ -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=["*"],
|
||||||
|
|
Loading…
Reference in New Issue