Skip to content

Commit 8c4d760

Browse files
authored
Merge pull request #34 from stenwire/dev
Dev
2 parents 29f5005 + 13b194f commit 8c4d760

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

backend/app/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
app.add_middleware(SlowAPIMiddleware)
5151

5252
# Security Middlewares
53-
if environment in ["production", "staging"]:
53+
# I am commenting out the HTTPS redirect middleware for now
54+
# because this project is hosted behind a reverse proxy
55+
# if environment in ["production", "staging"]:
5456
# app.add_middleware(HTTPSRedirectMiddleware)
5557

5658
app.add_middleware(

0 commit comments

Comments
 (0)