fix: add localhost:8080 to CORS_ALLOWED_ORIGINS for Flutter web preview

This commit is contained in:
2026-04-04 18:56:47 +05:30
parent 3a3f6d4179
commit 635a1224cd

View File

@@ -45,6 +45,7 @@ INSTALLED_APPS = [
'admin_api', 'admin_api',
'django_summernote', 'django_summernote',
'ledger', 'ledger',
'notifications',
] ]
INSTALLED_APPS += [ INSTALLED_APPS += [
@@ -73,6 +74,7 @@ CORS_ALLOWED_ORIGINS = [
"http://localhost:5173", "http://localhost:5173",
"http://localhost:3001", "http://localhost:3001",
"http://localhost:3000", "http://localhost:3000",
"http://localhost:8080",
"https://prototype.eventifyplus.com", "https://prototype.eventifyplus.com",
"https://eventifyplus.com", "https://eventifyplus.com",
"https://mv.eventifyplus.com", "https://mv.eventifyplus.com",