diff --git a/app.py b/app.py index 87cae6c708305010c46f1680c376a04ed44f441a..e43bd911c32dab23271faf141dcfb48d96d598c3 100644 --- a/app.py +++ b/app.py @@ -34,13 +34,11 @@ def runserver(): # The 'Server' key is assumed to be a dictionary containing the keys 'IP' and 'Port'. cfg = app.config['Server'] - # Retrieve the host and port from the config. - # If they're not present, default to '0.0.0.0' for the host and '5000' for the port. - host = cfg.get('IP', '0.0.0.0') + # Retrieve the port from the config. port = cfg.get('Port', 5000) # Run the Flask development server. - app.run(host=host, port=port, use_reloader=False) + app.run(host='0.0.0.0', port=port, use_reloader=False) if __name__ == '__main__':