Skip to content

Commit

Permalink
#68: Specify port and host in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Sep 23, 2019
1 parent 3a34c3b commit 6cbb1ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,6 @@
"/instruments/<int:instrument_id>/facilitycycles/<int:cycle_id>/investigations/count")

if __name__ == "__main__":
app.run(host=config.get_host(), port=config.get_port())
app.run(debug=config.is_debug_mode())

0 comments on commit 6cbb1ae

Please sign in to comment.