How I prevent favicon.ico 404s when developing sites
Create an empty icon inline with correct mime type to prevent 404 favicon.ico requests and errors when you don't need it.
<link rel="icon" href="data:image/png;base64,iVBORw0KGgo=">
Based on comments in this Stack Overflow.