weird thing with favicon.ico | appDir
Unanswered
Naeemgg posted this in #help-forum
NaeemggOP
Hey guys, I'm using next v13.4 and as of the latest docs I have put the favicon.ico file to appDir
/app/favicon.ico but still I'm getting that default vercel favicon.18 Replies
it's most likely just your browser caching it
NaeemggOP
yep, I've tried on edge, firefox, and waterfox...
do you have
export const metadata, export (async) function generateMetadata and/or other favicon.ico files anywhere?if not, can you make a reproduction repository
NaeemggOP
yes export metadata is there
and is one in the public folder?
then show your export metadata
import type { Metadata } from 'next'
export const metadata: Metadata = {
title: 'there is my title',
description: 'this is a long desc...',
}
...it is in layout.tsx
hmm give me a reproduction then, because from your description everything is fine
I'm following this method : https://nextjs.org/docs/app/building-your-application/routing/internationalization
Giant panda
favicons are cached VERY hard. Try various browsers in incognito mode or even attempt deploying. Local favicon caches are hard to punch
but how was it showing the same for all browsers!?
even the browsers I don't use
even the browsers I don't use