From 603415f9e1577ce4958f395411574f1422d086dc Mon Sep 17 00:00:00 2001 From: glay Date: Sun, 8 Dec 2024 08:33:45 +0800 Subject: [PATCH] Enhance log security --- app/api/bedrock.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/bedrock.ts b/app/api/bedrock.ts index 3183a1162..7da14a17b 100644 --- a/app/api/bedrock.ts +++ b/app/api/bedrock.ts @@ -103,10 +103,10 @@ async function requestBedrock(req: NextRequest) { }); // Make request to AWS Bedrock - console.log( - "[Bedrock Request] Final Body:", - JSON.stringify(requestBody, null, 2), - ); + // console.log( + // "[Bedrock Request] Final Body:", + // JSON.stringify(requestBody, null, 2), + // ); const res = await fetch(endpoint, { method: "POST", headers,