Skip to content

Commit d9b550b

Browse files
committed
fix: add specific rewrites for all SSR routes
1 parent 326fc23 commit d9b550b

File tree

11 files changed

+26877
-230
lines changed

11 files changed

+26877
-230
lines changed

demos/default/local-plugin/package-lock.json

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/default/next.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ module.exports = {
3131
destination: '/:path*',
3232
},
3333
],
34-
afterFiles: [{
35-
source: '/rewriteToStatic',
36-
destination: '/getStaticProps/1',
37-
}]
34+
afterFiles: [
35+
{
36+
source: '/rewriteToStatic',
37+
destination: '/getStaticProps/1',
38+
},
39+
],
3840
}
3941
},
4042
// Redirects allow you to redirect an incoming request path to a different destination path.

0 commit comments

Comments
 (0)