consul/website/redirects.js

26 lines
846 B
JavaScript

// REDIRECTS FILE
// See the README file in this directory for documentation. Please do not
// modify or delete existing redirects without first verifying internally.
// Next.js redirect documentation: https://nextjs.org/docs/api-reference/next.config.js/redirects
module.exports = [
{
source: '/consul/docs/connect/cluster-peering/create-manage-peering',
destination:
'/consul/docs/connect/cluster-peering/usage/establish-cluster-peering',
permanent: true,
},
{
source: '/consul/docs/connect/cluster-peering/usage/establish-peering',
destination:
'/consul/docs/connect/cluster-peering/usage/establish-cluster-peering',
permanent: true,
},
{
source: '/consul/docs/connect/cluster-peering/k8s',
destination: '/consul/docs/k8s/connect/cluster-peering/tech-specs',
permanent: true,
},
]