diff --git a/next.config.js b/next.config.js index 1113a5dcc..45d08cdc5 100644 --- a/next.config.js +++ b/next.config.js @@ -48,7 +48,18 @@ let nextConfig = { }); return config; - } + }, + + async redirects() { + return [ + { + source: '/node.js', + destination: '/nodejs', + permanent: true, + }, + ] + }, + }; nextConfig = withMDX(nextConfig);