Skip to content

Commit

Permalink
fix(plugin-docsearch): fix keydown event, close #227
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jul 28, 2024
1 parent 655916f commit d9f6f0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const useDocsearchShim = (): Partial<DocSearchProps> => {
navigator: {
// when pressing Enter without metaKey
navigate: ({ itemUrl }) => {
router.push(itemUrl)
router.push(itemUrl.replace(__VUEPRESS_BASE__, '/'))
},
},

Expand Down

0 comments on commit d9f6f0a

Please sign in to comment.