From 63c7651a1ca204bfaf9d32bb23307bf7fc8d7c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Mon, 28 Oct 2024 13:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AEvercel=E5=8F=8D=E5=90=91?= =?UTF-8?q?=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vercel.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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