mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 03:03:56 +08:00
fix:修复单模块下发逻辑
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user