Enhance encryption security

This commit is contained in:
glay
2024-12-07 20:34:05 +08:00
parent ad49cd0454
commit 5ac651ad8e
3 changed files with 67 additions and 22 deletions

View File

@@ -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,