Skip to content

Commit 86ffa1e

Browse files
committed
feat: 新增阿里系模型代码配置
1 parent 613d67e commit 86ffa1e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

next.config.mjs

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,12 @@ if (mode !== "export") {
9494
source: "/sharegpt",
9595
destination: "https://sharegpt.com/api/conversations",
9696
},
97+
{
98+
source: "/api/proxy/alibaba/:path*",
99+
destination: "https://dashscope.aliyuncs.com/api/:path*",
100+
},
97101
];
98-
102+
99103
return {
100104
beforeFiles: ret,
101105
};

0 commit comments

Comments
 (0)