Fix CSRF checking by adding CSRF_TRUSTED_ORIGINS
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 20s
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 20s
This commit is contained in:
parent
dcffd5e056
commit
5c09226868
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue