Skip to content

Commit c2cfdfc

Browse files
committed
feat: 更新 Vercel 配置,添加新的重写规则以支持 API 路径
1 parent fea42f5 commit c2cfdfc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

vercel.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"source": "/.well-known/host-meta",
1313
"destination": "https://api.zcservice.houlang.cloud/.well-known/host-meta"
1414
},
15+
{
16+
"source": "/ap/:path*",
17+
"destination": "https://api.zcservice.houlang.cloud/ap/:path*"
18+
},
1519
{
1620
"source": "/scratch/:path*",
1721
"destination": "/scratch/:path*"
@@ -32,4 +36,4 @@
3236
]
3337
}
3438
]
35-
}
39+
}

0 commit comments

Comments
 (0)