Skip to content

Commit

Permalink
fix:修复浏览器图标路径错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
01Petard committed Dec 2, 2024
1 parent e2bf6ad commit 804a048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export default {
description: "个人技术知识体系矩阵",
head: [
// 网站的图标(显示在浏览器的 tab 上)
["link", {rel: "icon", href: `${base}favicon.png`}],
["link", {rel: "icon", href: `../public/favicon.png`}],
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: 'assets/favicon.png',
logo: '../public/favicon.png',
// 开启本地搜索
search: {
provider: "local"
Expand Down

0 comments on commit 804a048

Please sign in to comment.