Add favicon.ico

This commit is contained in:
Ignacio Rivero 2025-03-11 19:30:36 -03:00
parent 47aaef4053
commit 24338557ee
2 changed files with 48 additions and 43 deletions

View File

@ -116,6 +116,11 @@ class IPMPVServer:
return send_from_directory("static", 'screenshot1.png',
mimetype='image/png')
@self.app.route('/favicon.ico')
def serve_favicon():
return send_from_directory("static", 'favicon.ico',
mimetype='image/vnd.microsoft.icon')
def _handle_index(self):
"""Handle the index route."""
from channels import group_channels

BIN
static/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB