modify: mqtt broker 适配
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user