Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

浏览器控制台 get favicon.ico 404 提示 #34

Closed
Dream4ever opened this issue Jun 5, 2018 · 0 comments
Closed

浏览器控制台 get favicon.ico 404 提示 #34

Dream4ever opened this issue Jun 5, 2018 · 0 comments
Labels
Front-end Everything you see and experience HTML HTML language, not webpage

Comments

@Dream4ever
Copy link
Owner

需求描述

在开发过程中,浏览器控制台总是会提示 get favicon.ico 404

方案调研

调研过程

Google get favicon.ico 404,第一个链接是 Stack Overflow 上的问答:I'm getting favicon.ico error,就给出了解决办法。

入选方案

应用过程

在 HTML 的 head 中,添加下面这条代码即可:

<link rel="shortcut icon" href="">

要点总结

@Dream4ever Dream4ever added Front-end Everything you see and experience HTML HTML language, not webpage Webpage labels Jun 5, 2018
@Dream4ever Dream4ever removed the Webpage label Jun 6, 2018
@Dream4ever Dream4ever changed the title 去除浏览器控制台烦人的 get favicon.ico 404 提示 浏览器控制台 get favicon.ico 404 提示 Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Front-end Everything you see and experience HTML HTML language, not webpage
Projects
None yet
Development

No branches or pull requests

1 participant