Open
Description
Description
The lab template contains a <link rel="icon" ... />
element with a broken data URL (the data URL is probably fine but it doesn't encode an image):
This leads to browsers not loading external favicons (/favicon.ico
) and trying to display the given one. Since the given icon is not a valid data URL, this does not work.
Firefox struggles with this quite a bit and even sometimes shows the icon of the page previously visited, instead.
Reproduce
- Create clean venv and install voila
- Run
voila any-notebook.ipynb
without any config or setup - Inspect the source of the loaded page (after rendering) and look for
<link rel="icon"
→ This shows the broken data URL still - Check requests → This shows either an aborted request for
favicon.ico
(in Firefox) or no request at all (Chromium)
Expected behavior
The HTML should not contain a broken favicon URL. If it contains a favicon it should be minimal (Voilà logo or transparent) and I should be able to replace it easily via a command line parameter. I would prefer for this line to be removed.
Context
- voila version 0.5.7
- Operating System and version: Fedora Linux 40 (KDE Plasma), Ubuntu 22.04.4 LTS
- Browser and version: Firefox 130, Chromium 128
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here. You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `voila` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.
If using JupyterLab
- JupyterLab version:
Installed Labextensions
Paste the output from your command line running `jupyter labextension list`.