Merge pull request #10492 from hashicorp/website-redirects
redirects-next.js: Fix regex for builder redirects
This commit is contained in:
commit
8cb4acfb73
|
@ -147,47 +147,47 @@ module.exports = [
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/amazon-:path*',
|
source: '/docs/builders/amazon-:path',
|
||||||
destination: '/docs/builders/amazon/:path*',
|
destination: '/docs/builders/amazon/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/azure-:path*',
|
source: '/docs/builders/azure-:path',
|
||||||
destination: '/docs/builders/azure/:path*',
|
destination: '/docs/builders/azure/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/hyperv-:path*',
|
source: '/docs/builders/hyperv-:path',
|
||||||
destination: '/docs/builders/hyperv/:path*',
|
destination: '/docs/builders/hyperv/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/oracle-:path*',
|
source: '/docs/builders/oracle-:path',
|
||||||
destination: '/docs/builders/oracle/:path*',
|
destination: '/docs/builders/oracle/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/osc-:path*',
|
source: '/docs/builders/osc-:path',
|
||||||
destination: '/docs/builders/outscale/:path*',
|
destination: '/docs/builders/outscale/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/parallels-:path*',
|
source: '/docs/builders/parallels-:path',
|
||||||
destination: '/docs/builders/parallels/:path*',
|
destination: '/docs/builders/parallels/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/virtualbox-:path*',
|
source: '/docs/builders/virtualbox-:path',
|
||||||
destination: '/docs/builders/virtualbox/:path*',
|
destination: '/docs/builders/virtualbox/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/vmware-:path*',
|
source: '/docs/builders/vmware-:path',
|
||||||
destination: '/docs/builders/vmware/:path*',
|
destination: '/docs/builders/vmware/:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/docs/builders/vsphere-:path*',
|
source: '/docs/builders/vsphere-:path',
|
||||||
destination: '/docs/builders/vmware/vsphere-:path*',
|
destination: '/docs/builders/vmware/vsphere-:path*',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue