Skip to content

Commit 25d89a6

Browse files
author
discreted
committed
fix:修改图标显示
1 parent bef3233 commit 25d89a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/docs/.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default defineConfig({
6060
md.use(componentPreview)
6161
}
6262
},
63-
head: [['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]],
63+
head: [['link', { rel: 'icon', type: 'image/x-icon', href: `${env.VITE_BASE_URL || '/tiny-search-box/'}/favicon.ico` }]],
6464
themeConfig: {
6565
logo: '/logo.svg',
6666
nav: [

0 commit comments

Comments
 (0)