Skip to content

Commit

Permalink
fix(config.js): missing favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
SessionHu committed Aug 28, 2024
1 parent 42e313f commit 4e28226
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ import markdownItTaskLists from "markdown-it-task-lists";
import { searchPlugin } from "@vuepress/plugin-search";
import { shikiPlugin } from '@vuepress/plugin-shiki'

const base = "/bilibili-API-collect/";

export default defineUserConfig({
bundler: viteBundler(),
base: "/bilibili-API-collect/",
base: base,
lang: "zh-CN",
title: "BAC Document",
description: "社区开源的第三方哔哩哔哩 API 文档",
head: [["link", { rel: "icon", href: "/logo2.jpg" }]],
head: [["link", { rel: "icon", href: base + "logo2.jpg" }]],
locales: {
"/": {
lang: "zh-CN",
Expand Down

0 comments on commit 4e28226

Please sign in to comment.