Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
p1utoze authored May 17, 2024
1 parent ada398c commit 3c5bee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
allow_all = ["*"]
app.add_middleware(GlobalsMiddleware)

if ENVIRONMENT == "production":
app.add_middleware(HTTPSRedirectMiddleware)
# if ENVIRONMENT == "production":
# app.add_middleware(HTTPSRedirectMiddleware)

app.add_middleware(
CORSMiddleware,
Expand Down

0 comments on commit 3c5bee7

Please sign in to comment.