mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 19:45:07 +00:00
Update new.ts
This commit is contained in:
parent
0f7e045408
commit
2cc43383d1
1 changed files with 3 additions and 2 deletions
|
|
@ -31,8 +31,9 @@ const deploy = async (
|
|||
},
|
||||
}),
|
||||
});
|
||||
const json = await req.json();
|
||||
const baseURL = json.url;
|
||||
const json = await req.text();
|
||||
console.log(json)
|
||||
const baseURL = JSON.parse(json).url;
|
||||
const fileURLs = files.map((f) => "https://" + baseURL + "/" + f.path);
|
||||
|
||||
return { status: req.status, fileURLs };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue