mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
The `target: serverless` config was deprecated a year ago starting in [Next.js 12](https://nextjs.org/blog/next-12). Tests were disabled in #41252 so we can now remove `target: serverless` and all usage of `target` in `next.config.js`. Co-authored-by: Balázs Orbán <[email protected]> Co-authored-by: JJ Kasper <[email protected]>
11 lines
153 B
JavaScript
11 lines
153 B
JavaScript
module.exports = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/blog/post/:pid',
|
|
destination: '/blog/:pid',
|
|
},
|
|
]
|
|
},
|
|
}
|