Skip to content

Commit

Permalink
Merge pull request #115 from se1exin/chore_port_env
Browse files Browse the repository at this point in the history
chore: allowing port to be overwritten by env
  • Loading branch information
peter-mcconnell committed Nov 7, 2023
2 parents f9b3c10 + dacc20b commit fe7cf65
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 fe7cf65

Please sign in to comment.