From 24a823d1382c6a33b2fa403cb012d5f782b87bde Mon Sep 17 00:00:00 2001 From: David Saidov Date: Tue, 4 Jun 2024 18:13:45 +0300 Subject: [PATCH] update trusted origins (fixed typo in nginx conf) --- backend/backend/settings.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/backend/settings.py b/backend/backend/settings.py index b2decc9..9a067b5 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -216,7 +216,6 @@ CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json' -CSRF_COOKIE_DOMAIN = 'http://31.129.98.70/' CORS_ORIGIN_WHITELIST = [ 'http://localhost:3000', 'http://localhost:8080', @@ -224,7 +223,6 @@ 'http://localhost:80', 'http://localhost', 'http://31.129.98.70/', - 'http://31.129.98.70:8000' ] CSRF_TRUSTED_ORIGINS = [ @@ -235,7 +233,6 @@ 'http://localhost', 'https://127.0.0.1', 'http://31.129.98.70/', - 'http://31.129.98.70:8000' ] # EMAIL BACKEND