Skip to content

Commit 91546bf

Browse files
committed
test fix
1 parent d67cbd4 commit 91546bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/lib/ai/forward.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export async function forwardToProduction(
66
): Promise<Response> {
77
const productionUrl = `https://api.stack-auth.com/api/latest/ai/query/${mode}`;
88
const forwardHeaders = new Headers();
9-
109
forwardHeaders.set("content-type", "application/json");
10+
forwardHeaders.set("accept-encoding", "identity");
1111

1212
return await fetch(productionUrl, {
1313
method: "POST",

0 commit comments

Comments
 (0)