mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
fix:修复单模块下发逻辑
This commit is contained in:
parent
1736e10189
commit
434fba55f7
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ class OTAHandler(BaseHandler):
|
||||||
self.logger.bind(tag=TAG).warning("缺少MQTT签名密钥,密码留空")
|
self.logger.bind(tag=TAG).warning("缺少MQTT签名密钥,密码留空")
|
||||||
|
|
||||||
# 构建MQTT配置(直接使用 mqtt_gateway 字符串)
|
# 构建MQTT配置(直接使用 mqtt_gateway 字符串)
|
||||||
return_json["mqtt_gateway"] = {
|
return_json["mqtt"] = {
|
||||||
"endpoint": mqtt_gateway_endpoint,
|
"endpoint": mqtt_gateway_endpoint,
|
||||||
"client_id": mqtt_client_id,
|
"client_id": mqtt_client_id,
|
||||||
"username": username,
|
"username": username,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue