commit
This commit is contained in:
@@ -21,6 +21,8 @@ ALLOWED_HOSTS = [
|
||||
'*', # Allow all hosts for flexibility
|
||||
'api.igny8.com',
|
||||
'app.igny8.com',
|
||||
'igny8.com',
|
||||
'www.igny8.com',
|
||||
'31.97.144.105',
|
||||
'localhost',
|
||||
'127.0.0.1',
|
||||
@@ -207,9 +209,13 @@ REST_FRAMEWORK = {
|
||||
# CORS Configuration
|
||||
CORS_ALLOWED_ORIGINS = [
|
||||
"https://app.igny8.com",
|
||||
"https://igny8.com",
|
||||
"https://www.igny8.com",
|
||||
"http://localhost:5173",
|
||||
"http://localhost:5174",
|
||||
"http://localhost:3000",
|
||||
"http://127.0.0.1:5173",
|
||||
"http://127.0.0.1:5174",
|
||||
]
|
||||
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
|
||||
Reference in New Issue
Block a user