mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 16:18:17 +00:00
Actually parse JSON
This commit is contained in:
parent
03d9656c0a
commit
8d073b004b
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export default async (req: Request) => {
|
|||
const buf = await req.arrayBuffer();
|
||||
console.log(decoder.decode(buf))
|
||||
console.log(buf)
|
||||
const fileURLs = decoder.decode(buf);
|
||||
const fileURLs = JSON.parse(decoder.decode(buf));
|
||||
console.log(fileURLs)
|
||||
console.log(fileURLs.length)
|
||||
console.log(typeof fileURLs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue