mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What Support merging the static metadata file conventions `favicon.ico` with other customized metadata icon from the module export. ### Why `favicon.ico` should be displayed everywhere as it's the icon representative of the website for all pages. Any customized `icon` in metadata export `export const metadata` or `export function generateMetadata()` shouldn't override the `favicon.ico` file convention. Fixes #55767 --------- Co-authored-by: hrmny <[email protected]>
15 lines
313 B
TypeScript
15 lines
313 B
TypeScript
export default function Page() {
|
|
return <p>hello world</p>
|
|
}
|
|
|
|
export const metadata = {
|
|
icons: {
|
|
shortcut: '/shortcut-icon-nested.png',
|
|
apple: '/apple-icon-nested.png',
|
|
other: {
|
|
rel: 'apple-touch-icon-precomposed-nested',
|
|
url: '/apple-touch-icon-precomposed-nested.png',
|
|
},
|
|
},
|
|
}
|