[ci] format
This commit is contained in:
parent
9bfbd63f05
commit
0f4f514fd9
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ export const createExports = (manifest: SSRManifest, args: Args) => {
|
||||||
const responseIsBase64Encoded = knownBinaryMediaTypes.has(responseContentType);
|
const responseIsBase64Encoded = knownBinaryMediaTypes.has(responseContentType);
|
||||||
|
|
||||||
let responseBody: string;
|
let responseBody: string;
|
||||||
if(responseIsBase64Encoded) {
|
if (responseIsBase64Encoded) {
|
||||||
const ab = await response.arrayBuffer();
|
const ab = await response.arrayBuffer();
|
||||||
responseBody = Buffer.from(ab).toString('base64');
|
responseBody = Buffer.from(ab).toString('base64');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue