a7337a9b38
* Make sure to encode pathname for custom-route destination * Add tests to security test suite
17 lines
342 B
JavaScript
17 lines
342 B
JavaScript
module.exports = {
|
|
onDemandEntries: {
|
|
// Make sure entries are not getting disposed.
|
|
maxInactiveAge: 1000 * 60 * 60,
|
|
},
|
|
experimental: {
|
|
redirects() {
|
|
return [
|
|
{
|
|
source: '/redirect/me/to-about/:lang',
|
|
destination: '/:lang/about',
|
|
permanent: false,
|
|
},
|
|
]
|
|
},
|
|
},
|
|
}
|