From 74af036ae682546396b9c2e6b7bd0319f24208a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E6=96=91=E9=B8=A0?= Date: Fri, 17 Nov 2023 13:52:34 +0800 Subject: [PATCH] Update common.ts --- app/api/common.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/common.ts b/app/api/common.ts index dd1cc0bb80e..c168bfc6af5 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -98,6 +98,7 @@ export async function requestOpenai(req: NextRequest) { } try { + console.log("[Fetch] fetchOptions:", JSON.stringify(fetchOptions)); const res = await fetch(fetchUrl, fetchOptions); // to prevent browser prompt for credentials