We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb85a4 commit b00b277Copy full SHA for b00b277
packages/@vuepress/theme-default/components/AlgoliaSearchBox.vue
@@ -46,7 +46,8 @@ export default {
46
}, algoliaOptions),
47
handleSelected: (input, event, suggestion) => {
48
const { pathname, hash } = new URL(suggestion.url)
49
- this.$router.push(`${pathname}${hash}`)
+ const routepath = pathname.replace(this.$site.base, '/')
50
+ this.$router.push(`${routepath}${hash}`)
51
}
52
53
))
0 commit comments