redirects-next.js: Fix regex for builder redirects

This commit is contained in:
Wilken Rivera 2021-01-15 15:46:24 -05:00
parent 5a61823082
commit 06f2b7822b
1 changed files with 9 additions and 9 deletions

View File

@ -147,47 +147,47 @@ module.exports = [
permanent: true,
},
{
source: '/docs/builders/amazon-:path*',
source: '/docs/builders/amazon-:path',
destination: '/docs/builders/amazon/:path*',
permanent: true,
},
{
source: '/docs/builders/azure-:path*',
source: '/docs/builders/azure-:path',
destination: '/docs/builders/azure/:path*',
permanent: true,
},
{
source: '/docs/builders/hyperv-:path*',
source: '/docs/builders/hyperv-:path',
destination: '/docs/builders/hyperv/:path*',
permanent: true,
},
{
source: '/docs/builders/oracle-:path*',
source: '/docs/builders/oracle-:path',
destination: '/docs/builders/oracle/:path*',
permanent: true,
},
{
source: '/docs/builders/osc-:path*',
source: '/docs/builders/osc-:path',
destination: '/docs/builders/outscale/:path*',
permanent: true,
},
{
source: '/docs/builders/parallels-:path*',
source: '/docs/builders/parallels-:path',
destination: '/docs/builders/parallels/:path*',
permanent: true,
},
{
source: '/docs/builders/virtualbox-:path*',
source: '/docs/builders/virtualbox-:path',
destination: '/docs/builders/virtualbox/:path*',
permanent: true,
},
{
source: '/docs/builders/vmware-:path*',
source: '/docs/builders/vmware-:path',
destination: '/docs/builders/vmware/:path*',
permanent: true,
},
{
source: '/docs/builders/vsphere-:path*',
source: '/docs/builders/vsphere-:path',
destination: '/docs/builders/vmware/vsphere-:path*',
permanent: true,
},