Closed yukulele closed 2 years ago
Maybe better to handle this in your code with one of the solutions from https://stackoverflow.com/a/13416784 ? From user's perspective it's better if you can avoid requesting a non-existing file instead of returning an empty answer. Some developers may prefer to see the warning if such redundant requests are made.
If the file doesn't exist, isn't 404 the correct response?
What's the problem this feature will solve?
My browser show this error each time a reload my page:
I only want to see the messages related to the current development.
Describe the solution you'd like
http-server should send
HTTP 204 No Content
success status response code by default whenfavicon.ico
is not in public directoryAlternative Solutions
I can get a favicon.ico file and add it to the directory but