From 108e8c640ba6de8e4391f068e4773ace13527125 Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Fri, 24 May 2024 17:24:04 -0700 Subject: [PATCH] Set the preferred URL scheme in production to `https` --- OpenOversight/app/models/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenOversight/app/models/config.py b/OpenOversight/app/models/config.py index d0cc16a85..94f981964 100644 --- a/OpenOversight/app/models/config.py +++ b/OpenOversight/app/models/config.py @@ -101,6 +101,7 @@ class ProductionConfig(BaseConfig): def __init__(self): super(ProductionConfig, self).__init__() self.SITEMAP_URL_SCHEME = "https" + self.PREFERRED_URL_SCHEME = "https" config: dict[str, BaseConfig] = {