Skip to content

Commit e82c68b

Browse files
committed
fix: 修复VitePress配置的base路径问题
- 将base路径从 /pandatest.github.io/ 修改为 / - 更新GitHub链接为正确的仓库地址 - 修复编辑链接路径 - 解决部署后样式丢失的问题
1 parent f6d017e commit e82c68b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/.vitepress/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
title: 'PandaTest',
66
description: '云真机测试平台官方文档',
77
lang: 'zh-CN',
8-
base: '/pandatest.github.io/',
8+
base: '/',
99

1010
// 启用暗色模式切换
1111
appearance: 'dark',
@@ -74,7 +74,7 @@ export default defineConfig({
7474
},
7575

7676
socialLinks: [
77-
{ icon: 'github', link: 'https://github.com/PandaTest/pandatest.github.io' }
77+
{ icon: 'github', link: 'https://github.com/Maxwellos/highqa.github.io' }
7878
],
7979

8080
footer: {
@@ -107,7 +107,7 @@ export default defineConfig({
107107
},
108108

109109
editLink: {
110-
pattern: 'https://github.com/PandaTest/pandatest.github.io/edit/main/docs/:path',
110+
pattern: 'https://github.com/Maxwellos/highqa.github.io/edit/main/docs/:path',
111111
text: '编辑此页'
112112
},
113113

0 commit comments

Comments
 (0)