Skip to content

Commit

Permalink
docs: add enhanceApp.js to .vuepress for redirects (cosmos#8354)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovincyrus authored Jan 21, 2021
1 parent d4e63ff commit d226254
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default ({ router }) => {
router.addRoutes([
{ path: '/master/spec/*', redirect: '/master/modules/' },
{ path: '/master/spec/governance/', redirect: '/master/modules/gov/' },
])
}

0 comments on commit d226254

Please sign in to comment.