We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fbb560 commit ef7617dCopy full SHA for ef7617d
app/client/platforms/anthropic.ts
@@ -356,7 +356,7 @@ export class ClaudeApi implements LLMApi {
356
const isApp = !!getClientConfig()?.isApp;
357
358
baseUrl = isApp
359
- ? DEFAULT_API_HOST + "/api/proxy" + ApiPath.Anthropic
+ ? DEFAULT_API_HOST + "/api/proxy/anthropic"
360
: ApiPath.Anthropic;
361
}
362
next.config.mjs
@@ -77,6 +77,10 @@ if (mode !== "export") {
77
source: "/api/proxy/openai/:path*",
78
destination: "https://api.openai.com/:path*",
79
},
80
+ {
81
+ source: "/api/proxy/anthropic/:path*",
82
+ destination: "https://api.anthropic.com/:path*",
83
+ },
84
{
85
source: "/google-fonts/:path*",
86
destination: "https://fonts.googleapis.com/:path*",
0 commit comments