Skip to content

Commit

Permalink
chore: 修改base路径
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxing409 committed Jun 16, 2024
1 parent d9fb80b commit de98861
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/.vitepress/config.js
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down

0 comments on commit de98861

Please sign in to comment.