Update in the settings for the cors allowed origins
This commit is contained in:
@@ -47,8 +47,10 @@ MIDDLEWARE = [
|
|||||||
'corsheaders.middleware.CorsMiddleware',
|
'corsheaders.middleware.CorsMiddleware',
|
||||||
'django.middleware.common.CommonMiddleware',
|
'django.middleware.common.CommonMiddleware',
|
||||||
]
|
]
|
||||||
|
|
||||||
CORS_ALLOWED_ORIGINS = [
|
CORS_ALLOWED_ORIGINS = [
|
||||||
"http://localhost:5173",
|
"http://localhost:5173",
|
||||||
|
"https://prototype.eventifyplus.com/"
|
||||||
]
|
]
|
||||||
|
|
||||||
ROOT_URLCONF = 'eventify.urls'
|
ROOT_URLCONF = 'eventify.urls'
|
||||||
|
|||||||
Reference in New Issue
Block a user