no need to bind to 0.0.0.0
This commit is contained in:
parent
c41bffbbae
commit
c22af6d1f0
|
@ -632,6 +632,6 @@ if __name__ == "__main__":
|
||||||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
|
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
|
||||||
context.load_cert_chain("local_data/cert.pem", "local_data/key.pem")
|
context.load_cert_chain("local_data/cert.pem", "local_data/key.pem")
|
||||||
|
|
||||||
app.run(debug=True, host="0.0.0.0", port=7777, ssl_context=context)
|
app.run(debug=True, port=7777, ssl_context=context)
|
||||||
else:
|
else:
|
||||||
app.run(debug=True, host="0.0.0.0", port=7777)
|
app.run(debug=True, port=7777)
|
||||||
|
|
Loading…
Reference in a new issue