Add /node.js to /nodejs redirect

This commit is contained in:
Kamran Ahmed
2022-08-31 11:31:25 +04:00
parent 7bb290caa7
commit f9de17f780
+12 -1
View File
@@ -48,7 +48,18 @@ let nextConfig = {
});
return config;
}
},
async redirects() {
return [
{
source: '/node.js',
destination: '/nodejs',
permanent: true,
},
]
},
};
nextConfig = withMDX(nextConfig);