Add /node.js to /nodejs redirect

pull/1657/head
Kamran Ahmed 2 years ago
parent 7bb290caa7
commit f9de17f780
  1. 13
      next.config.js

@ -48,7 +48,18 @@ let nextConfig = {
});
return config;
}
},
async redirects() {
return [
{
source: '/node.js',
destination: '/nodejs',
permanent: true,
},
]
},
};
nextConfig = withMDX(nextConfig);

Loading…
Cancel
Save