404 Error With Favicon
See original GitHub issueI’ve got an issue with this plugin and searched for other similar issues.
I installed the package via NPM and added the necessary file to my folder (src > assets > favicon.png) but it wont show up.
When I deploy via netlify the console gives me a 404 error for the file. When I look for the favicon in localhost, it doesnt show up (no 404 error in console).
Has anyone else had this issue?
gatsby.config file:
module.exports = {
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-favicon`,
options: {
logo: "./src/assets/favicon.png",
injectHTML: true,
icons: {
android: true,
appleIcon: true,
appleStartup: true,
coast: false,
favicons: true,
firefox: true,
twitter: false,
yandex: false,
windows: false
}
}
},
],
};
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why am I seeing a 404 (Not Found) error failed to load favicon ...
It is essentially a bug in Chrome's developer tools. The request for favicon.ico has not been initiated by the page itself, and its...
Read more >How to prevent favicon.ico requests? 404 Favicon Errors
If there is no favicon.ico file at the root level of a website, when a webpage is bookmarked a 404 (file not found)...
Read more >How to Fix “404 Favicon Not Found” Error - TutsAndTips.com
For example, if you forget to upload an image that is linked to from one of your pages, loading that page will (and...
Read more >How to fix 404 not found error failed to load favicon.ico
Here is a step by step on how to fix this issue. I believe that it is best practice to use an ICO...
Read more >favicon.ico is throwing a 404 · Issue #711 - GitHub
No 404 error, because a favicon.ico file would be there, be it a default empty file, or the automatically .ico nized version of...
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 FreeTop 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
Top GitHub Comments
Same here!
Great! Thank you for the quick test 😃