测试vercel反向代理
This commit is contained in:
12
vercel.json
12
vercel.json
@@ -1,10 +1,4 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/:path*",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"src": "/api/(.*)",
|
||||
@@ -18,5 +12,11 @@
|
||||
"src": "/ai/(.*)",
|
||||
"dest": "https://spark-api-open.xf-yun.com/$1"
|
||||
}
|
||||
],
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/:path*",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user