requests for missing favicon.ico cause dash's index route to be served
See original GitHub issueI just noticed that when a favicon is not wired up, the automatic request for /favicon.ico by the browser results in the dash server returning its index route. This seems to be a consequence of there being a catchall redirecting all URLs that are not matched to the index route.
While probably not too harmful, this seems undesirable. One solution could be to include a default favicon, but perhaps it is also worth establishing whether the catchall behaviour is desirable?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to prevent favicon.ico requests? - Stack Overflow
I will first say that having a favicon in a Web page is a good thing (normally). However it is not always desired...
Read more >Favicon Not Showing Up - How to Fix In Chrome, Wordpress ...
ico file to the desired directory on your site. Insert this code into the <head></head> section: <link rel=”shortcut icon” href =“images/ ...
Read more >How to Fix the Favicon Not Showing Up Issue - Sitechecker
A missing icon is not as serious as a 404 error. But it requires attention as well. Favicon URL is indexed by the...
Read more >Resolve Access Denied errors from a CloudFront distribution ...
To troubleshoot Access Denied errors, first determine if your distribution's origin domain name is an S3 website endpoint or an S3 REST API ......
Read more >Including page titles, favicon, etc in dash app?
I'm wondering if there is a way to specify a head element with title, etc? I've tried searching through the dash-html-components and have ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think including a default dash
favicon.icois better than a 404.I will add the
favicon.icoin the zip as the default favicon.