docs: add enhanceApp.js to .vuepress for redirects (#8354)

This commit is contained in:
Cyrus Goh 2021-01-21 00:42:42 -08:00 committed by GitHub
parent d4e63ffe60
commit d226254578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
export default ({ router }) => {
router.addRoutes([
{ path: '/master/spec/*', redirect: '/master/modules/' },
{ path: '/master/spec/governance/', redirect: '/master/modules/gov/' },
])
}