Fix revalidateTimings route for catchall index route (#65843)
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 <jj@jjsweb.site>
Showing
Please
register
or
sign in
to comment