Skip to content

Commit 8c6c4bc

Browse files
committed
index-update-2
1 parent fc3c7e4 commit 8c6c4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.vitepress/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function redirectToLang(router: { go: (path: string) => void }) {
5656
if (typeof window === 'undefined') return
5757

5858
const path = window.location.pathname
59-
const base = '/case-lambda'
59+
const base = '/'
6060

6161
// 检查当前路径是否是根路径或只有 base
6262
if (path === '/' || path === base || path === `${base}/` || path === `${base}/index.html`) {

0 commit comments

Comments
 (0)