modify: mqtt broker 适配

This commit is contained in:
2026-07-24 16:33:23 +08:00
parent a9ff99959d
commit a29155e033
12 changed files with 781 additions and 95 deletions
+9
View File
@@ -50,6 +50,15 @@ allow_headers = ["*"]
allow_methods = ["*"]
allow_origins = ["*"]
[development.mqtt]
enabled = true
host = "localhost"
port = 1883
[development.mqtt.broker]
# amqtt Broker 可选配置,默认允许匿名连接
# 详细参数参考: https://github.com/Yakifo/amqtt
[plugins_worker]
config_path = "./config/workers/config.toml"