mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-25 08:33:53 +08:00
add:ota管理与固件上传与下载 (#931)
* 新增ota管理与固件上传于下载 * feat: 支持通过OTA更新websocket地址 * update:合并最新代码 * update:优化OTA增删改查 * update:一个临时下载链接最多只能下载3次,防止盗链和流量攻击 * update:OTA固件增删改查 --------- Co-authored-by: kevin1sMe <linjiang1205@gmail.com> Co-authored-by: hrz <1710360675@qq.com>
This commit is contained in:
@@ -5,6 +5,7 @@ import device from './module/device.js'
|
||||
import model from './module/model.js'
|
||||
import timbre from "./module/timbre.js"
|
||||
import user from './module/user.js'
|
||||
import ota from './module/ota.js'
|
||||
|
||||
/**
|
||||
* 接口地址
|
||||
@@ -31,4 +32,5 @@ export default {
|
||||
device,
|
||||
model,
|
||||
timbre,
|
||||
ota
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user