fix: Add route for favicon.ico

This commit is contained in:
Nathan Woodburn 2024-10-05 20:04:38 +10:00
parent b3d965d220
commit 863d11cffd
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -158,6 +158,10 @@ def faviconPNG():
def faviconSVG(): def faviconSVG():
return send_from_directory("templates/assets/img/favicon", "favicon.svg") 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("/https.js")
@app.route("/handshake.js") @app.route("/handshake.js")