From 1da2cf06b03233ae0ecda332a3a8ad041163eec2 Mon Sep 17 00:00:00 2001 From: Cameron Perera Date: Mon, 13 Jun 2022 22:48:54 -0500 Subject: [PATCH] chore: create redirects for onboarding links (#2169) --- website/redirects.js | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/website/redirects.js b/website/redirects.js index 30170acd2f..82c80f42a0 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -1,6 +1,6 @@ module.exports = [ // define your custom redirects within this file. - // vercel's redirect documentation: https://vercel.com/docs/configuration#project/redirects + // vercel's redirect documentation: https://vercel.com/docs/project-configuration#project-configuration/redirects // Top level redirect { @@ -13,6 +13,11 @@ module.exports = [ destination: '/docs', permanent: false, }, + { + source: '/help/admin-ui/downloads', + destination: '/downloads', + permanent: true, + }, // `//index.html` to / { @@ -40,6 +45,28 @@ module.exports = [ 'https://learn.hashicorp.com/tutorials/boundary/getting-started-desktop-app', permanent: true, }, + { + source: '/help/admin-ui/getting-started/desktop', + destination: + 'https://learn.hashicorp.com/tutorials/boundary/getting-started-desktop-app', + permanent: true, + }, + + ///////////////////////////////// + // API CLIENT + ///////////////////////////////// + { + source: '/help/admin-ui/api-client/cli', + destination: + '/docs/api-clients/cli', + permanent: true, + }, + { + source: '/help/admin-ui/api-client/api', + destination: + '/docs/api-clients/api', + permanent: true, + }, ///////////////////////////////// // DOMAIN MODEL CONCEPTS