This commit is contained in:
bracesproul
2024-10-01 15:07:42 -07:00
parent a945f1d871
commit 4edb2a8965
+4 -1
View File
@@ -30,7 +30,10 @@ async function handleRequest(req: NextRequest, method: string) {
options.body = await req.text();
}
const res = await fetch(`${process.env.LANGGRAPH_API_URL}/${path}${queryString}`, options);
const res = await fetch(
`${process.env.LANGGRAPH_API_URL}/${path}${queryString}`,
options
);
return new NextResponse(res.body, {
status: res.status,