From bb2242a9a2add01f28d7cfce38e77638534b1951 Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Mon, 10 Jan 2022 17:08:06 -0800 Subject: [PATCH] Consolidate /download-tools redirects --- website/redirects.next.js | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/website/redirects.next.js b/website/redirects.next.js index 51c242ef7..999d5758c 100644 --- a/website/redirects.next.js +++ b/website/redirects.next.js @@ -322,26 +322,6 @@ module.exports = [ destination: '/docs/intro/vs/custom', permanent: true, }, - { - source: '/download-tools', - destination: '/docs/download-tools', - permanent: true, - }, - { - source: '/downloads_tools', - destination: '/docs/download-tools', - permanent: true, - }, - { - source: '/download_tools', - destination: '/docs/download-tools', - permanent: true, - }, - { - source: '/downloads_tools', - destination: '/docs/download-tools', - permanent: true, - }, { source: '/docs/k8s/ambassador', destination: '/docs/k8s/connect/ambassador', @@ -1225,7 +1205,7 @@ module.exports = [ permanent: true, }, { - source: '/(/downloads?[-_]tools)', + source: '/download(s?[-_])tools', destination: '/docs/download-tools', permanent: true, },