Skip to content

Commit a7c46c4

Browse files
author
Alex Patterson
committed
update redirects
1 parent a7566ed commit a7c46c4

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

frontend/main/next.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,23 @@ module.exports = withBundleAnalyzer({
99
loader: 'cloudinary',
1010
path: 'https://media.codingcat.dev/image/upload/',
1111
},
12+
async redirects() {
13+
return [
14+
{
15+
source: '/blog/design-systems-with-web-components',
16+
destination: '/tutorial/design-systems-with-web-components',
17+
permanent: true,
18+
},
19+
{
20+
source: '/lessons/:path*',
21+
destination: '/tutorial/:path*',
22+
permanent: true,
23+
},
24+
{
25+
source: '/blog/:path*',
26+
destination: '/post/:path*',
27+
permanent: true,
28+
},
29+
];
30+
},
1231
});

0 commit comments

Comments
 (0)