Skip to content

Commit cb4fd49

Browse files
Set the preferred URL scheme in production to https (#449)
1 parent c31a9c2 commit cb4fd49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OpenOversight/app/models/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class ProductionConfig(BaseConfig):
101101
def __init__(self):
102102
super(ProductionConfig, self).__init__()
103103
self.SITEMAP_URL_SCHEME = "https"
104+
self.PREFERRED_URL_SCHEME = "https"
104105

105106

106107
config: dict[str, BaseConfig] = {

0 commit comments

Comments
 (0)