From d9860a0bf7fabeb94598f55f168647138fdce8eb Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Fri, 15 Jan 2021 17:10:38 -0800 Subject: [PATCH] add enhanceApp.js to .vuepress for redirects --- docs/.vuepress/enhanceApp.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/.vuepress/enhanceApp.js diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js new file mode 100644 index 000000000000..79974546e9b2 --- /dev/null +++ b/docs/.vuepress/enhanceApp.js @@ -0,0 +1,6 @@ +export default ({ router }) => { + router.addRoutes([ + { path: '/master/spec/*', redirect: '/master/modules/' }, + { path: '/master/spec/governance/', redirect: '/master/modules/gov/' }, + ]) +} \ No newline at end of file