mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 18:35:12 +00:00
Update new.ts
This commit is contained in:
parent
0ea37a4811
commit
ecd558f36a
1 changed files with 2 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue