From 8f3b3618e93dc225eed1cc3c3e9f75e084af2bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Tue, 15 Jul 2025 23:51:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=20JSON=20=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E4=BB=A5=E6=8F=90=E9=AB=98=E5=8F=AF=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9e83309..ece1bf5 100644 --- a/src/index.js +++ b/src/index.js @@ -96,7 +96,7 @@ async function handleRequest(request) { phoneNumber: phone }; - return new Response(JSON.stringify(jsonResponse), { + return new Response(JSON.stringify(jsonResponse, null, 2), { headers: { 'content-type': 'application/json;charset=UTF-8' }, }); }