Failed to handle request for /favicon.ico
Unanswered
Channel catfish posted this in #help-forum
Channel catfishOP
I have just upgraded from 13.4.8 to 13.4.13. I am now getting the following error (image attached). My favicon.ico was in /public. I tried to fix by changing location to /app (as per next js official doco) but that did not help.
Note that site works fine in development mode, it is only after successful optimized production build that we see this error (aka once I have deployed)
Note that site works fine in development mode, it is only after successful optimized production build that we see this error (aka once I have deployed)
6 Replies
if your favicon is in public folder use it like this
else remove it in
app dir and nextjs will load it automaticallyChannel catfishOP
thanks @@ts-ignore - I will try it out and let you know
@Channel catfish thanks <@510480545160101898> - I will try it out and let you know
the above screenshot is from
app/layout.tsxthis will only work if it is Server component