Files
next.js/test/integration/root-catchall-cache/next.config.js
8a429e083e 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 <[email protected]>
2024-05-20 15:13:07 +00:00

4 lines
41 B
JavaScript

module.exports = {
assetPrefix: '/',
}