mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
support for compressed .gz binary uploads
This commit is contained in:
@@ -23,9 +23,9 @@ class UploadFirmwareForm extends React.Component<UploadFirmwareFormProps> {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Box py={2}>
|
<Box py={2}>
|
||||||
Upload a new firmware (.bin) file below to replace the existing firmware.
|
Upload a new firmware file below to replace the existing firmware.
|
||||||
</Box>
|
</Box>
|
||||||
<SingleUpload accept="application/octet-stream" onDrop={this.handleDrop} uploading={uploading} progress={progress} onCancel={onCancel} />
|
<SingleUpload accept=".bin,.gz" onDrop={this.handleDrop} uploading={uploading} progress={progress} onCancel={onCancel} />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user