feat: add Django configuration settings with database, CORS, and Cashfree gateway support
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 36s

This commit is contained in:
vickytechkey 2026-10-18 22:10:38 +05:30
parent 852aa0ad33
commit 6c78e149a6

View file

@ -30,10 +30,18 @@ import os
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', '*').split(',') if os.environ.get('ALLOWED_HOSTS') else ['*']
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = [
'https://betapayments.tradhox.com',
'https://beta.tradhox.com',
'https://tradhox.com',
'https://www.tradhox.com',
'http://localhost',
'http://localhost:5173',
'http://localhost:3000',
'http://127.0.0.1',
'http://127.0.0.1:5173',
'http://127.0.0.1:3000',
]