modify: chongming-mqtt 应用
This commit is contained in:
@@ -48,6 +48,20 @@ allow_headers = ["*"]
|
||||
allow_methods = ["*"]
|
||||
allow_origins = ["*"]
|
||||
|
||||
[production.mqtt]
|
||||
enabled = true
|
||||
host = "0.0.0.0"
|
||||
port = 1883
|
||||
|
||||
# MQTT Bridge 额外订阅主题推荐声明在各插件自己的配置里:
|
||||
# config/workers/<type>/config.toml → [[workers.mqtt_topics]]
|
||||
# (如 aibox_sophon_adapter 插件的 /board_ping 心跳主题)
|
||||
# 全局 [<env>.mqtt].custom_topics 仍可作为通用兜底(可选,不推荐)。
|
||||
|
||||
[production.mqtt.broker]
|
||||
# amqtt Broker 可选配置,默认允许匿名连接
|
||||
# 详细参数参考: https://github.com/Yakifo/amqtt
|
||||
|
||||
[production.module_system]
|
||||
path = [
|
||||
"resources/app.mbank",
|
||||
|
||||
Reference in New Issue
Block a user