You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`.
The text was updated successfully, but these errors were encountered:
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):voila/share/jupyter/voila/templates/lab/index.html.j2
Line 60 in 0ffd12a
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
voila any-notebook.ipynb
without any config or setup<link rel="icon"
→ This shows the broken data URL stillfavicon.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
Troubleshoot Output
Command Line Output
Browser Output
If using JupyterLab
Installed Labextensions
The text was updated successfully, but these errors were encountered: