youknowriad / blockbook

Build and Share WordPress Blocks in Isolation.
http://youknowriad.github.io/blockbook/
GNU General Public License v3.0
160 stars 17 forks source link

Add empty favicon to prevent `404` error in Firefox dev console #40

Closed iandunn closed 3 years ago

iandunn commented 3 years ago

Firefox automatically requests a favicon, even if a site's HTML doesn't declare one. If the site doesn't have one, that request results in a 404, which creates an error in the dev console. That false error can be distracting to devs who are making changes to a block and watching for errors.

Unfortunately, Firefox doesn't provide a good way to disable that behavior, so the standard workaround is to add a null favicon.

youknowriad commented 3 years ago

Makes sense. We could consider a good default favicon later.