From dc4848a74dcb3eafbf5a12d7e340fb6df2bf5c46 Mon Sep 17 00:00:00 2001 From: phillybroadbent Date: Thu, 11 Apr 2024 10:42:09 +0100 Subject: [PATCH] Editing local CSRF trusted origin --- lowfat/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lowfat/settings.py b/lowfat/settings.py index fd98c77..6fbbe83 100644 --- a/lowfat/settings.py +++ b/lowfat/settings.py @@ -97,7 +97,7 @@ ROOT_URLCONF = 'lowfat.urls' CSRF_TRUSTED_ORIGINS = [ - 'localhost:8000', + 'http://127.0.0.1:8000', 'https://fellows.software.ac.uk', ]