We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d67cbd4 commit 91546bfCopy full SHA for 91546bf
1 file changed
apps/backend/src/lib/ai/forward.ts
@@ -6,8 +6,8 @@ export async function forwardToProduction(
6
): Promise<Response> {
7
const productionUrl = `https://api.stack-auth.com/api/latest/ai/query/${mode}`;
8
const forwardHeaders = new Headers();
9
-
10
forwardHeaders.set("content-type", "application/json");
+ forwardHeaders.set("accept-encoding", "identity");
11
12
return await fetch(productionUrl, {
13
method: "POST",
0 commit comments