This commit is contained in:
IGNY8 VPS (Salman)
2025-11-13 16:49:51 +00:00
parent e6a926f803
commit 4f8d79ca3f
44 changed files with 59194 additions and 7 deletions

View File

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