61b68730f8
This moves the custom-routes configs outside of the experimental section to prepare them for being made stable Fixes: https://github.com/vercel/next.js/issues/14184
15 lines
301 B
JavaScript
15 lines
301 B
JavaScript
module.exports = {
|
|
onDemandEntries: {
|
|
// Make sure entries are not getting disposed.
|
|
maxInactiveAge: 1000 * 60 * 60,
|
|
},
|
|
redirects() {
|
|
return [
|
|
{
|
|
source: '/redirect/me/to-about/:lang',
|
|
destination: '/:lang/about',
|
|
permanent: false,
|
|
},
|
|
]
|
|
},
|
|
}
|