Skip to content
Snippets Groups Projects
Commit ab6e2d15 authored by Karishma Chadha's avatar Karishma Chadha
Browse files

Fix MIME type for zips.

parent ed07535a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment