diff --git a/routes/extract-data.js b/routes/extract-data.js index 2a6dba4..efdf1c4 100644 --- a/routes/extract-data.js +++ b/routes/extract-data.js @@ -21,6 +21,7 @@ router.post("/", upload, async (req, res) => { if (file) { switch (file.mimetype) { case 'application/x-gzip': + case 'application/x-zip-compressed': const files = await decompress(file.buffer) // let JSONfiles = files.filter(file => file.path.endsWith('.json'));