Skip to content

Commit 6fd7bcc

Browse files
fix: add specific rewrites for all SSR routes (#1105)
* fix: add specific rewrites for all SSR routes * chore: snapidoo * chore: lint Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent ff65754 commit 6fd7bcc

File tree

13 files changed

+26884
-231
lines changed

13 files changed

+26884
-231
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
'unicorn/consistent-function-scoping': 0,
2626
'unicorn/filename-case': 0,
2727
'unicorn/no-array-push-push': 0,
28+
'unicorn/numeric-separators-style': 0,
2829
},
2930
parserOptions: {
3031
sourceType: 'module',

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

+10-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/default/next.config.js

+6-4
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)