Skip to content

Commit

Permalink
chore: allowing port to be overwritten by env
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mcconnell committed Nov 7, 2023
1 parent f9b3c10 commit dacc20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ def route_frontend(path):


if __name__ == "__main__":
app.run(host="0.0.0.0", port=80)
app.run(host="0.0.0.0", port=os.getenv("PORT", "80"))

0 comments on commit dacc20b

Please sign in to comment.