summaryrefslogtreecommitdiff
path: root/webui/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'webui/main.py')
-rw-r--r--webui/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/main.py b/webui/main.py
index c281aac..a7bc2d6 100644
--- a/webui/main.py
+++ b/webui/main.py
@@ -4,9 +4,11 @@ from flask import render_template
app = create_app()
# Define the route for the custom 404 error
+
@app.errorhandler(404)
def page_not_found(e):
return render_template('404.html'), 404
+
if __name__ == '__main__':
- app.run(debug=True)
+ app.run(host='0.0.0.0', port=80, debug=True)