mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
OTA API refactoring: renamed files and defines
This commit is contained in:
1 parent
822b0c011a
commit
fa54a22aed
13 files changed
+536
-536
No files matched your search
@@ -211,7 +211,7 @@ function FirmwareUpdate({}) {
|
||||
const oncommit = ev => fetch('api/firmware/commit')
|
||||
.then(r => r.json())
|
||||
.then(refresh);
|
||||
const onreboot = ev => fetch('api/sys/reset')
|
||||
const onreboot = ev => fetch('api/device/reset')
|
||||
.then(r => r.json())
|
||||
.then(r => new Promise(r => setTimeout(ev => { refresh(); r(); }, 3000)));
|
||||
const onrollback = ev => fetch('api/firmware/rollback')
|
||||
|
||||
Reference in new issue
Block a user