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:
@@ -48,7 +48,18 @@ let nextConfig = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
},
|
||||||
|
|
||||||
|
async redirects() {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
source: '/node.js',
|
||||||
|
destination: '/nodejs',
|
||||||
|
permanent: true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nextConfig = withMDX(nextConfig);
|
nextConfig = withMDX(nextConfig);
|
||||||
|
Reference in New Issue
Block a user