Skip to content

Commit 829d32b

Browse files
authored
fix: use redirects instead of rewrites (#169)
1 parent fba2a1c commit 829d32b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ const config = {
2222
inlineCss: true,
2323
reactCompiler: true,
2424
},
25-
async rewrites() {
25+
async redirects() {
2626
return [
2727
{
2828
source: '/documentation',
2929
destination: '/documentation/',
30-
basePath: false
30+
permanent: true,
3131
}
3232
];
3333
},

0 commit comments

Comments
 (0)