diff --git a/vercel.json b/vercel.json index a55495d..cc8350f 100644 --- a/vercel.json +++ b/vercel.json @@ -4,5 +4,19 @@ "source": "/:path*", "destination": "/index.html" } + ], + "routes": [ + { + "src": "/api/(.*)", + "dest": "https://openapi.baidu.com/$1" + }, + { + "src": "/qiniu/(.*)", + "dest": "https://rsf.qiniuapi.com/$1" + }, + { + "src": "/ai/(.*)", + "dest": "https://spark-api-open.xf-yun.com/$1" + } ] } \ No newline at end of file