Skip to content

Commit

Permalink
add back development check
Browse files Browse the repository at this point in the history
  • Loading branch information
jayceslesar committed Jun 2, 2024
1 parent 30b2ac7 commit 7a934ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masterbase/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def provision(request: Request) -> Redirect:
"""
# enforce https on base_url
base_url = str(request.base_url)
if not base_url.startswith("https"):
if not base_url.startswith("https") and not os.environ["DEVELOPMENT"]:
base_url = base_url.replace("http", "https")

auth_params = {
Expand Down

0 comments on commit 7a934ad

Please sign in to comment.