From 668e81928a480beffd71078a2d5847691065dead Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 18 Jul 2022 11:57:41 +0530 Subject: Added CSRF_TRUSTED_ORIGINS --- thatcomputerscientist/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3