no error is showing but the favicon is not showing after deployment, it was working fine in the local .
this is the source code -
no error is showing but the favicon is not showing after deployment, it was working fine in the local .
this is the source code -
I believe that there are two issues here:
So, you’d need to:
favicon.ico
file to the /app
directory, as Next.js specifically looks for it thereicons
field from the metadata since we’re using the standard favicon.ico
conventionfavicon.ico
file when it’s placed in the /app
directoryAfter making these changes, your favicon should appear correctly in the browser tab. If you want to use your SVG logo as the favicon instead, you would need to place it in the correct location and update the metadata accordingly.
thanks a lot, after placing the favicon in the app directory it was solved.
Great to hear! See you around in the community
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.