Make body work with fetch()
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user