Skip to content

Commit fff8795

Browse files
authored
fix(docs): add back missing leading slash to search urls (#2947)
1 parent 8058c03 commit fff8795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/search.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ import { components, directives, reference, misc } from '~/content'
6060
const SEARCH = []
6161
6262
const process = (readme, section, page) => {
63-
const baseURL = ['docs', section, page].filter(v => !!v).join('/')
63+
const baseURL = '/' + ['docs', section, page].filter(v => !!v).join('/')
6464
const { title, toc } = makeTOC(readme)
6565
;[...toc].forEach(({ label, href }) => {
6666
SEARCH.push({

0 commit comments

Comments
 (0)