From a7cf8ecfd3eed5c4d76f82f4f4387ed4ef39c6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barret=E6=9D=8E=E9=9D=96?= Date: Thu, 6 Apr 2023 20:56:49 +0800 Subject: [PATCH] Update cloudflare-worker.js --- cloudflare-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-worker.js b/cloudflare-worker.js index 285a61f..f740a88 100644 --- a/cloudflare-worker.js +++ b/cloudflare-worker.js @@ -32,7 +32,7 @@ async function handleRequest(request) { // 在 Cloudflare 中,HEAD 和 GET 请求带 body 会报错 if (['HEAD', 'GET'].includes(request.method)) delete payload.body; - // 入参中如果包含了 stream=true,则表现形式为非流式输出 + // 入参中如果包含了 stream=true,则表现形式为流式输出 const response = await fetch(fetchAPI, payload); if (body && body.stream !== true) { const results = await response.json();