diff --git a/public/favicon.webp b/public/favicon.webp new file mode 100644 index 000000000..f2c1aef37 Binary files /dev/null and b/public/favicon.webp differ diff --git a/src/config.ts b/src/config.ts index 4a2af8e40..134817271 100644 --- a/src/config.ts +++ b/src/config.ts @@ -48,7 +48,7 @@ export const siteConfig: SiteConfig = { favicon: [ // Leave this array empty to use the default favicon { - src: "https://q2.qlogo.cn/headimg_dl?dst_uin=2726730791&spec=5", // Path of the favicon, relative to the /public directory + src: "./favicon.webp", // Path of the favicon, relative to the /public directory // theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode // sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes }, @@ -84,7 +84,7 @@ export const navBarConfig: NavBarConfig = { }; export const profileConfig: ProfileConfig = { - avatar: "https://q2.qlogo.cn/headimg_dl?dst_uin=2726730791&spec=5", // Relative to the /src directory. Relative to the /public directory if it starts with '/' + avatar: "/favicon.webp", // Relative to the /src directory. Relative to the /public directory if it starts with '/' name: "二叉树树", bio: "爱你所爱~ ❤", links: [