diff options
-rwxr-xr-x | main.py | 5 | ||||
-rw-r--r-- | static/img/favicon.ico | bin | 0 -> 6715 bytes |
2 files changed, 5 insertions, 0 deletions
@@ -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! diff --git a/static/img/favicon.ico b/static/img/favicon.ico Binary files differnew file mode 100644 index 0000000..969b451 --- /dev/null +++ b/static/img/favicon.ico |