Never run Flask in debug mode, it poses a security risk
Change-Id: I0c0c192bc75f42cfb070059f1764a0837ae956bb Closes-Bug: #1506419
This commit is contained in:
parent
0a48bb4611
commit
7ca5620189
|
@ -199,8 +199,7 @@ def main(args=sys.argv[1:]): # pragma: no cover
|
|||
|
||||
init()
|
||||
try:
|
||||
app.run(debug=debug,
|
||||
host=CONF.discoverd.listen_address,
|
||||
app.run(host=CONF.discoverd.listen_address,
|
||||
port=CONF.discoverd.listen_port)
|
||||
finally:
|
||||
firewall.clean_up()
|
||||
|
|
Loading…
Reference in New Issue