Skip to content

Commit

Permalink
Merge pull request #446 from fbeister/master
Browse files Browse the repository at this point in the history
fix MIME type application/zip not being accepted in react-dropzone
  • Loading branch information
GermanBluefox committed Nov 21, 2019
2 parents 315426d + 75f7e0e commit c647d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/Dialogs/ImportFile.js
Expand Up @@ -160,7 +160,7 @@ class DialogImportFile extends React.Component {
rejectClassName={classes.dropzoneRejected}
onDrop={files => this.handleDropFile(files)}
multiple={false}
accept='application/x-zip-compressed'
accept='application/zip,application/x-zip-compressed'
className={className}>
{
({ getRootProps, getInputProps, isDragActive, isDragReject}) => {
Expand Down

0 comments on commit c647d08

Please sign in to comment.