From 863d11cffd952fc6d7d5520911c5a9b674c32b59 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 5 Oct 2024 20:04:38 +1000 Subject: [PATCH] fix: Add route for favicon.ico --- server.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server.py b/server.py index 884698f..63d01c7 100644 --- a/server.py +++ b/server.py @@ -158,6 +158,10 @@ def faviconPNG(): def faviconSVG(): return send_from_directory("templates/assets/img/favicon", "favicon.svg") +@app.route("/favicon.ico") +def faviconICO(): + return send_from_directory("templates/assets/img/favicon", "favicon.ico") + @app.route("/https.js") @app.route("/handshake.js")