Fix CSRF checking by adding CSRF_TRUSTED_ORIGINS
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 20s

This commit is contained in:
vickytechkey 2026-08-23 10:02:45 +05:30
parent dcffd5e056
commit 5c09226868

View file

@ -28,7 +28,7 @@ SECRET_KEY = 'django-insecure-h3*qqwi%s4(ve^!!27d1sn6gew&4ol0^eh^n*3$aq=p+ht#)6k
DEBUG = True
ALLOWED_HOSTS = ['*']
CSRF_TRUSTED_ORIGINS = ['https://ec2-16-113-57-127.ap-south-2.compute.amazonaws.com:9002', 'https://*.amazonaws.com']
# Application definition