diff --git a/next.config.mjs b/next.config.mjs index 26dadca4c..2bb6bc4f4 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -94,8 +94,12 @@ if (mode !== "export") { source: "/sharegpt", destination: "https://sharegpt.com/api/conversations", }, + { + source: "/api/proxy/alibaba/:path*", + destination: "https://dashscope.aliyuncs.com/api/:path*", + }, ]; - + return { beforeFiles: ret, };