fix: add localhost:8080 to CORS_ALLOWED_ORIGINS for Flutter web preview
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user