mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 16:18:17 +00:00
Update new.ts
This commit is contained in:
parent
d99dfa9718
commit
72b7eeca28
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ export default async (req: Request) => {
|
|||
console.log(decoder.decode(buf))
|
||||
console.log(buf)
|
||||
const fileURLs = decoder.decode(buf);
|
||||
console.log(fileURLs)
|
||||
console.log(typeof fileURLs)
|
||||
if (!Array.isArray(fileURLs) || fileURLs.length < 1) {
|
||||
return new Response(
|
||||
JSON.stringify({ error: "Empty file array" }),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue