Compare commits

...

1 Commits

Author SHA1 Message Date
Kyle Shockey
de0a77096a fix: support multimedia media types for file upload 2018-07-07 02:31:42 -05:00

View File

@@ -36,7 +36,12 @@ const RequestBody = ({
return null
}
if(contentType === "application/octet-stream") {
if(
contentType === "application/octet-stream"
|| contentType.indexOf("image/") === 0
|| contentType.indexOf("audio/") === 0
|| contentType.indexOf("video/") === 0
) {
const Input = getComponent("Input")
if(!isExecute) {