From a4a39a3b1a35a1a72fe7ea1fd4ffe57be694a2b2 Mon Sep 17 00:00:00 2001 From: Cal Ellowitz Date: Thu, 5 Oct 2023 09:13:20 -0400 Subject: [PATCH] set default protocol --- config/settings/production.py | 2 ++ config/settings/staging.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/settings/production.py b/config/settings/production.py index 1efebad0..956849a4 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -131,3 +131,5 @@ ] # Your stuff... # ------------------------------------------------------------------------------ + +DEFAULT_HTTP_PROTOCOL = "https" diff --git a/config/settings/staging.py b/config/settings/staging.py index 1e6ffcb2..099069fe 100644 --- a/config/settings/staging.py +++ b/config/settings/staging.py @@ -110,3 +110,5 @@ # CommCareConnect # ------------------------------------------------------------------------------ CSRF_TRUSTED_ORIGINS = ["https://*.127.0.0.1"] + env.list("CSRF_TRUSTED_ORIGINS", default=[]) + +DEFAULT_HTTP_PROTOCOL = "https"