From ecd558f36aa67a15b1d7ea55119d48873cad897e Mon Sep 17 00:00:00 2001 From: Sam Poder <39828164+sampoder@users.noreply.github.com> Date: Sat, 25 Feb 2023 09:53:47 +0800 Subject: [PATCH] Update new.ts --- api/v1/new.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1/new.ts b/api/v1/new.ts index cf0742f..bb4c1a4 100644 --- a/api/v1/new.ts +++ b/api/v1/new.ts @@ -80,6 +80,8 @@ export default async (req: Request) => { const decoder = new TextDecoder(); const buf = await req.arrayBuffer(); + console.log(decoder.decode(buf)) + console.log(buf) const fileURLs = JSON.parse(decoder.decode(buf)); if (!Array.isArray(fileURLs) || fileURLs.length < 1) { return new Response(