From ab6e2d15e23c6c10b9022289a426ea987950e340 Mon Sep 17 00:00:00 2001 From: Karishma Chadha <kchadha@scratch.mit.edu> Date: Fri, 4 May 2018 15:58:25 -0400 Subject: [PATCH] Fix MIME type for zips. --- src/lib/file-uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/file-uploader.js b/src/lib/file-uploader.js index 901147770..35a4cf02b 100644 --- a/src/lib/file-uploader.js +++ b/src/lib/file-uploader.js @@ -178,7 +178,7 @@ const soundUpload = function (fileData, fileType, soundName, storage, handleSoun const spriteUpload = function (fileData, fileType, spriteName, storage, handleSprite) { switch (fileType) { case '': - case 'archive/zip': { // We think this is a .sprite2 or .sprite3 file + case 'application/zip': { // We think this is a .sprite2 or .sprite3 file handleSprite(new Uint8Array(fileData)); return; } -- GitLab