I am trying to fix this error:
favicon.ico:1 GET http://127.0.0.1:8000/static/favicon.ico 404 (Not Found)
The error came after I added a fetch to a JavaScript function.
I have tried adding <link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
and <link rel="shortcut icon" href="#">
, but neither change anything, and for some reason the error only will occur in the console when I press Ctrl
F5
. Does anyone know how to fix this?