question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

requests for missing favicon.ico cause dash's index route to be served

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
T4rk1ncommented, Sep 25, 2018

I think including a default dash favicon.ico is better than a 404.

0reactions
T4rk1ncommented, Sep 26, 2018

I will add the favicon.ico in the zip as the default favicon.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found