Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit a24e6fd

Browse files
authored
Fix For Github Pages
fix https://openlistteam.github.io/docs/
1 parent 2fbbc1c commit a24e6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.vuepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const __dirname = getDirname(import.meta.url);
77

88
export default defineUserConfig({
99
theme,
10-
base: "/", // For Github Pages
10+
base: process.env.NODE_ENV === 'development' ? "/" : "/docs/", // For Github Pages
1111
head: [
1212
[
1313
"link",

0 commit comments

Comments
 (0)