Make body work with fetch()
This commit is contained in:
parent
d3c58da4bf
commit
2617e0e587
@ -14,6 +14,7 @@ export async function sandboxFetch(
|
|||||||
req && {
|
req && {
|
||||||
method: req.method,
|
method: req.method,
|
||||||
headers: req.headers,
|
headers: req.headers,
|
||||||
|
body: req.body,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
const body = await (await result.blob()).arrayBuffer();
|
const body = await (await result.blob()).arrayBuffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user