aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-07-18 11:57:41 +0530
committerBobby <[email protected]>2022-07-18 11:57:41 +0530
commit668e81928a480beffd71078a2d5847691065dead (patch)
treed6192cf8b02368670e7ea67573a005f1b7091bca
parent5aceb38b137b58916e25e7deaea14674da5d7536 (diff)
downloadthatcomputerscientist-668e81928a480beffd71078a2d5847691065dead.tar.xz
thatcomputerscientist-668e81928a480beffd71078a2d5847691065dead.zip
Added CSRF_TRUSTED_ORIGINS
-rw-r--r--thatcomputerscientist/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py
index 168e0239..f5733bdb 100644
--- a/thatcomputerscientist/settings.py
+++ b/thatcomputerscientist/settings.py
@@ -30,7 +30,7 @@ SECRET_KEY = 'django-insecure--8^hnd!ymuui4c2hu0$x9_j@eylb2tpr1xiq@xr2a(2vfwc=2_
DEBUG = True
ALLOWED_HOSTS = ["*"]
-
+CSRF_TRUSTED_ORIGINS = ['https://*.thatcomputerscientist.com', 'https://*.thatcomputerscientist.fly.dev/']
# Application definition