mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Replacement for #46156 Closes NEXT-587 * `metadataBase` will always need to be provided for twitter image and opengraph image * Fixing the metadataBase isn't picked up by static og/twitter images ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
8 lines
145 B
TypeScript
8 lines
145 B
TypeScript
export default function Layout({ children }) {
|
|
return children
|
|
}
|
|
|
|
export const metadata = {
|
|
metadataBase: new URL('https://example.com/'),
|
|
}
|