mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
*This doesn't enable skew protection for any new tests, only preparation* Prepare a lot of test assertions so that they work correctly when a `?dpl=123` query param is present: - some regexes should accept the query - some places assumed that the `<script>`'s `src` is a valid pathname, whereas it might have a query param that has to be stripped before removing the path - some hardcoded build ids instead of `next.buildId`
11 lines
149 B
JavaScript
11 lines
149 B
JavaScript
module.exports = {
|
|
rewrites() {
|
|
return [
|
|
{
|
|
source: '/rewrite-me',
|
|
destination: '/ssg/dynamic/one',
|
|
},
|
|
]
|
|
},
|
|
}
|