From d1acb443bda26fb39f0cbadbcc2253f2e16453a2 Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 15 May 2024 15:45:42 +0200 Subject: [PATCH] fix: CSRF_TOKEN --- django/transcendence/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/transcendence/settings.py b/django/transcendence/settings.py index b747a7e..bcfc121 100644 --- a/django/transcendence/settings.py +++ b/django/transcendence/settings.py @@ -32,10 +32,10 @@ ALLOWED_HOSTS = ["*"] CORS_ORIGIN_ALLOW_ALL = False -CSRF_TRUSTED_ORIGINS = ["https://django.chauvet.pro"] +CSRF_TRUSTED_ORIGINS = ["https://localhost:1443"] CORS_ORIGIN_WHITELIST = ( - 'http://localhost:8000', + 'https://localhost:1443', ) # Application definition