Merge pull request #10492 from hashicorp/website-redirects

redirects-next.js: Fix regex for builder redirects
This commit is contained in:
Wilken Rivera 2021-01-15 16:20:10 -05:00 committed by GitHub
commit 8cb4acfb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,
},