fix: CSRF trusted origins
This commit is contained in:
parent
4ca0188117
commit
7883b6290f
@ -26,6 +26,7 @@ SECRET_KEY = os.getenv('SECRET', 'django-insecure-c%g@wujt4dco#e%k-!25o3)0%t+wm5
|
||||
DEBUG = os.getenv('DEBUG', 'False')
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
CSRF_TRUSTED_ORIGINS = ['*']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
@ -5,4 +5,4 @@ bs4==0.0.1
|
||||
requests==2.28.1
|
||||
djangorestframework==3.14.0
|
||||
whitenoise==6.2.0
|
||||
psycopg2-binary
|
||||
psycopg2-binary==2.9.4
|
||||
|
Loading…
Reference in New Issue
Block a user