rsnext/test/integration/rewrite-with-browser-history/next.config.js
Pepijn Senders 9c3780fbce
Fix rewrite and dynamic params on navigating to initial history entry (#25495)
* Fix rewrite and dynamic params

* set _shouldResolveHref to true when initializing client state

* add window.beforeNav check

* fix broken path

* fix build-output tests

* remove yarn.lock changes
2021-06-01 16:29:43 -05:00

10 lines
173 B
JavaScript

module.exports = {
rewrites() {
return [
{
source: '/:pagePrefix/:path*',
destination: '/dynamic-page/:pagePrefix/:path*',
},
]
},
}