From de98861dacfab77ef571a883ca23baf861f4d203 Mon Sep 17 00:00:00 2001 From: Snxy <892573319@qq.com> Date: Mon, 17 Jun 2024 02:07:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9base=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 8ea2696..5a98cce 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -1,11 +1,14 @@ // .vitepress/config.js + +const base = "/blog-demo/"; export default { + base, // 站点级选项 title: "是柠新呀的博客", description: "是柠新呀用来写博客的地方", head: [ // 配置网站的图标(显示在浏览器的 tab 上) - ["link", { rel: "icon", href: `/favicon.ico` }], + ["link", { rel: "icon", href: `${base}favicon.ico` }], ], themeConfig: { docFooter: {