summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.py b/main.py
index 670c7af..40770bc 100755
--- a/main.py
+++ b/main.py
@@ -38,6 +38,11 @@ def css(css_file):
return current_app.send_static_file("css/{}".format(css_file))
+@app.route('/favicon.ico')
+def favicon():
+ return current_app.send_static_file("img/favicon.ico")
+
+
if __name__ == '__main__':
serve(app, listen='*:8080') # production server
#app.run() # debug server - NOT FOR PRODUCTION!