Skip to content

Commit

Permalink
部署到 user.github.io/repo/,需要将 base 设置为 /repo/
Browse files Browse the repository at this point in the history
  • Loading branch information
muzipiao committed Nov 17, 2024
1 parent fb8c7c0 commit c668474
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/.vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { search as zhSearch } from "./zh";
export const shared = defineConfig({
title: "GMObjC",

base: "/gmdocs/",

rewrites: {
"en/:rest*": ":rest*",
},
Expand Down

0 comments on commit c668474

Please sign in to comment.