summaryrefslogtreecommitdiff
path: root/webui/main.py
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-05-12 04:51:34 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-05-12 04:51:34 +0530
commita8734e6c94047e38c83acbac6f1405ff0c7b7b3f (patch)
tree59c5065bfd4e4a2f0c98a4ca6a1273c44b91abc2 /webui/main.py
parent4ec9fa23b3c37f4ddf50e77a8f41ecdd4ddf1399 (diff)
webui: Cleaning up dump+ Livestream IMPLEMENTATION
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)