为什么我总是收到 500(内部服务器错误) GET http://localhost:3000/favicon.ico 500(内部服务器错误)?
Why do I keep getting a 500(Internal Server Error) GET http://localhost:3000/favicon.ico 500 (Internal Server Error)?
当我开始这个项目时,我没有保留生成的 CRA 文件中的任何内容,所以为什么我仍然会收到此错误,它是从哪里来的?
GET http://localhost:3000/favicon.ico 500 (Internal Server Error)
正如我所说,我创建了自己的 ./public/index.html,其中我没有指定网站图标。
此错误的来源是什么?我该如何消除它?
As I said, I have created my own ./public/index.html in which I am not specifying a favicon. What is the source of this error and how can I get rid of it?
浏览器自动请求网站图标。如果 html 文件中未指定图标,则会自动请求 <protocol>://<domain>/favicon.ico
I added an empty link for favicon and i doesn't work. <link rel="shortcut icon" href="">
浏览器仍然看到一个空的 href 作为未在 html 文件中指定的网站图标。
您可以通过 <link rel="shortcut icon">
中的 href 设置自己的图标 url 并提供 .ico 文件或忽略请求。
目前我不知道有什么方法可以完全禁用网站图标请求。
当我开始这个项目时,我没有保留生成的 CRA 文件中的任何内容,所以为什么我仍然会收到此错误,它是从哪里来的?
GET http://localhost:3000/favicon.ico 500 (Internal Server Error)
正如我所说,我创建了自己的 ./public/index.html,其中我没有指定网站图标。 此错误的来源是什么?我该如何消除它?
As I said, I have created my own ./public/index.html in which I am not specifying a favicon. What is the source of this error and how can I get rid of it?
浏览器自动请求网站图标。如果 html 文件中未指定图标,则会自动请求 <protocol>://<domain>/favicon.ico
I added an empty link for favicon and i doesn't work.
<link rel="shortcut icon" href="">
浏览器仍然看到一个空的 href 作为未在 html 文件中指定的网站图标。
您可以通过 <link rel="shortcut icon">
中的 href 设置自己的图标 url 并提供 .ico 文件或忽略请求。
目前我不知道有什么方法可以完全禁用网站图标请求。