mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
autodetect, download and install firmware upgrades
This commit is contained in:
@@ -48,3 +48,6 @@ export const uploadFile = (file: File) => {
|
||||
|
||||
export const uploadURL = (data: { url: string }) =>
|
||||
alovaInstance.Post('/rest/uploadURL', data);
|
||||
|
||||
export const checkUpgrade = (data: { version: string }) =>
|
||||
alovaInstance.Post('/rest/checkUpgrade', data);
|
||||
|
||||
Reference in New Issue
Block a user