From cb4fd49d5ca418afdd5038f8c489858d9947e76d Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Sat, 25 May 2024 13:45:53 -0700 Subject: [PATCH] Set the preferred URL scheme in production to `https` (#449) --- 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] = {