mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
md5 check for upload bin files #637
This commit is contained in:
@@ -16,7 +16,9 @@ const UploadFileForm: FC = () => {
|
||||
|
||||
const uploadFile = useRef(async (file: File, config?: FileUploadConfig) => {
|
||||
const response = await SystemApi.uploadFile(file, config);
|
||||
setRestarting(true);
|
||||
if (response.status === 200) {
|
||||
setRestarting(true);
|
||||
}
|
||||
return response;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user