Allow uploading of ugoira

This commit is contained in:
Kira 2019-07-22 16:59:36 -07:00
parent b4b40d9e37
commit 89256f5b76
2 changed files with 4 additions and 3 deletions

View File

@ -756,10 +756,10 @@
if (data2 && data2.reason === 'duplicate') {
self.duplicateId = data2.post_id;
} else {
self.error = 'Error: ' + data2.messages.join('; ');
self.error = 'Error: ' + data2.message;
}
} catch (e) {
self.error = 'Error: Unknown error! ' + data2;
self.error = 'Error: Unknown error! ' + JSON.stringify(data2);
}
}
});

View File

@ -286,7 +286,8 @@ module Danbooru
'png' => 100.megabytes,
'swf' => 100.megabytes,
'webm' => 100.megabytes,
'mp4' => 100.megabytes
'mp4' => 100.megabytes,
'zip' => 100.megabytes
}
end