revert back to application/octet-stream to allow files in OSX

This commit is contained in:
proddy
2020-09-30 12:29:13 +02:00
parent cfa57b889d
commit 71ac4464dc

View File

@@ -25,7 +25,7 @@ class UploadFirmwareForm extends React.Component<UploadFirmwareFormProps> {
<Box py={2}> <Box py={2}>
Upload a new firmware file (.bin or .bin.gz) below to replace the existing firmware. Upload a new firmware file (.bin or .bin.gz) below to replace the existing firmware.
</Box> </Box>
<SingleUpload accept=".bin,.gz" onDrop={this.handleDrop} uploading={uploading} progress={progress} onCancel={onCancel} /> <SingleUpload accept="application/octet-stream" onDrop={this.handleDrop} uploading={uploading} progress={progress} onCancel={onCancel} />
</Fragment> </Fragment>
); );
} }