Skip to content

Commit

Permalink
build: use baseurl in version switcher
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun committed May 15, 2024
1 parent 1c0bddd commit 4641a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/serverUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const getVersionList = (lang: string) => {
const linkVersion = version !== LATEST_VERSION ? `${version}/` : ''
return {
text: `${version} ${endText}`,
link: `${websiteMap[lang]}/${linkVersion}`,
link: `/${linkVersion}`,
}
})
}
Expand Down

0 comments on commit 4641a19

Please sign in to comment.