Commit 35d85e47 authored by Romain Loth's avatar Romain Loth

make flask server accessible from outside

parent 0422bda8
......@@ -215,4 +215,7 @@ def read_records(incoming_data):
########### MAIN ###########
if __name__ == "__main__":
app.run()
# our app should be bound to an ip (cf. http://stackoverflow.com/a/30329547/2489184)
# TODO read host ip from config
app.run(host='0.0.0.0')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment