mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
fixes #65842 When setting revalidateTimings correctly use toRoute to convert `/index` to `/`, like done for get (https://github.com/vercel/next.js/blob/canary/packages/next/src/server/lib/incremental-cache/index.ts#L213) See #65842 for reproduction codesandbox. The bug also exists in 14.2.3 (and below) - before #64370 --------- Co-authored-by: JJ Kasper <[email protected]>
13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
export const metadata = {
|
|
title: 'Next.js',
|
|
description: 'Generated by Next.js',
|
|
}
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|