1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 12:40:03 +02:00

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

View File

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