From d58bbd5598b2b57f48e5b6447298bb52f2c37f2a Mon Sep 17 00:00:00 2001 From: Corban-Lee Date: Wed, 14 Aug 2024 15:42:32 +0100 Subject: [PATCH] fix trusted origins warning --- core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/settings.py b/core/settings.py index 13d7b8c..57a9b3d 100644 --- a/core/settings.py +++ b/core/settings.py @@ -35,7 +35,7 @@ DEBUG = env('DEBUG') # Hosts and Origins that the server host must be within. ALLOWED_HOSTS = ["localhost", "127.0.0.1", "pyrss-website", env("HOST", default="127.0.0.1")] -CSRF_TRUSTED_ORIGINS = ["http://localhost", "http://127.0.0.1", "pyrss-website", "https://" + env("HOST", default="127.0.0.1")] +CSRF_TRUSTED_ORIGINS = ["http://localhost", "http://127.0.0.1", "http://pyrss-website", "https://" + env("HOST", default="127.0.0.1")] # Application definition