From 94a3c57bd07dc00afa474d42ff3be89323b95387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Wed, 22 May 2024 08:42:23 +0200 Subject: [PATCH] settings: Fix CSRF issue --- notecheckproject/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notecheckproject/settings.py b/notecheckproject/settings.py index b958c0a..1202225 100644 --- a/notecheckproject/settings.py +++ b/notecheckproject/settings.py @@ -27,6 +27,8 @@ ALLOWED_HOSTS = ['127.0.0.1','localhost','note.jekovec.net'] +CSRF_TRUSTED_ORIGINS = ['https://note.jekovec.net'] + # Application definition INSTALLED_APPS = [