rsnext/test/integration/rewrites-has-condition/next.config.js

21 lines
339 B
JavaScript
Raw Normal View History

module.exports = {
rewrites() {
return [
{
source: '/rewrite-simple',
destination: '/another',
},
{
source: '/rewrite-with-has',
has: [
{
type: 'query',
key: 'hasQuery',
},
],
destination: '/another',
},
]
},
}