Skip to content

Commit a7cf8ec

Browse files
authored
Update cloudflare-worker.js
1 parent 1e7c2f6 commit a7cf8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudflare-worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function handleRequest(request) {
3232
// 在 Cloudflare 中,HEAD 和 GET 请求带 body 会报错
3333
if (['HEAD', 'GET'].includes(request.method)) delete payload.body;
3434

35-
// 入参中如果包含了 stream=true,则表现形式为非流式输出
35+
// 入参中如果包含了 stream=true,则表现形式为流式输出
3636
const response = await fetch(fetchAPI, payload);
3737
if (body && body.stream !== true) {
3838
const results = await response.json();

0 commit comments

Comments
 (0)