mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-30 04:30:01 +02:00
Add /node.js to /nodejs redirect
This commit is contained in:
@@ -48,7 +48,18 @@ let nextConfig = {
|
||||
});
|
||||
|
||||
return config;
|
||||
}
|
||||
},
|
||||
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/node.js',
|
||||
destination: '/nodejs',
|
||||
permanent: true,
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
nextConfig = withMDX(nextConfig);
|
||||
|
Reference in New Issue
Block a user