Update in the settings for the cors allowed origins

This commit is contained in:
Vivek
2025-12-19 21:48:51 +05:30
parent bf75367d46
commit 689cedb3ff

View File

@@ -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'