fixed the flask service binding to localhost instead of 0.0.0.0, preventing it from being connected to outside of a docker container
This commit is contained in:
parent
ceaa76823b
commit
a13dba19ad
1 changed files with 1 additions and 1 deletions
|
@ -49,4 +49,4 @@ def hello():
|
||||||
return render_template('hello.html', name="Flask")
|
return render_template('hello.html', name="Flask")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(host="localhost", port=config['port'], debug=True)
|
app.run(host="0.0.0.0", port=config['port'], debug=True)
|
||||||
|
|
Loading…
Reference in a new issue