Open
fix: disable flask debug mode in server startup #1293
super dog.Add on May 26
fix: disable flask debug mode in server startup #1293
Open
Total: 1 files changed+1-1
| @@ -304,4 +304,4 @@ if __name__ == '__main__': | |||
| 304 | uos_sysmig_conf = json.loads(share.get_sysmig_conf()) | 304 | uos_sysmig_conf = json.loads(share.get_sysmig_conf()) |
| 305 | ip = json.loads(uos_sysmig_conf).get('serverip').strip()[1:-1] | 305 | ip = json.loads(uos_sysmig_conf).get('serverip').strip()[1:-1] |
| 306 | port = int(json.loads(uos_sysmig_conf).get('serverport').strip()[1:-1]) | 306 | port = int(json.loads(uos_sysmig_conf).get('serverport').strip()[1:-1]) |
| 307 | - app.run(debug=True, host=ip, port=port) | 307 | + app.run(debug=False, host=ip, port=port) |