mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-27 23:00:18 +00:00
fixing fe bug
This commit is contained in:
parent
7696c507ba
commit
ebde216768
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -220,7 +220,7 @@ async function get_app_server() {
|
|||
const gzip = zlib.createGzip();
|
||||
const gzipTempFileName = multer_temp_image_path + ".gz";
|
||||
const tempFileWriteStream = fs.createWriteStream(gzipTempFileName);
|
||||
input_read_stream.pipe(gzip).pipe(tempFileWriteStream);
|
||||
await input_read_stream.pipe(gzip).pipe(tempFileWriteStream);
|
||||
//uploading the gzipped file to GCS
|
||||
await bucket.upload(gzipTempFileName, {
|
||||
gzip: true,
|
||||
|
|
Loading…
Reference in a new issue