From b4334233484634f3a43e14067592a0bfb8e923f1 Mon Sep 17 00:00:00 2001 From: Roman Dvorak Date: Fri, 5 Apr 2024 02:02:07 +0200 Subject: [PATCH] solve CORS --- DOSPORTAL/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOSPORTAL/settings.py b/DOSPORTAL/settings.py index 94ff701..fcc655f 100644 --- a/DOSPORTAL/settings.py +++ b/DOSPORTAL/settings.py @@ -27,7 +27,7 @@ ALLOWED_HOSTS = ['*','localhost', '127.0.0.1', '0.0.0.0'] -CSRF_TRUSTED_ORIGINS = ['https://portal.dos.ust.cz', 'http://eurados-demo.dos.ust.cz'] +CSRF_TRUSTED_ORIGINS = ['https://portal.dos.ust.cz', 'https://eurados-demo.dos.ust.cz'] # Application definition