Fix [[mqtt]] in readme

This commit is contained in:
QuantumEntangledAndy committed 2023-09-23 09:05:43 +07:00
1 parent 87e32f571a
commit eb994dc65d
1 file changed
+2 -2
+2 -2
View File
@@ -164,7 +164,7 @@ To use mqtt you will need to adjust your config file as such:
```toml
bind = "0.0.0.0"
[[mqtt]]
[mqtt]
broker_addr = "127.0.0.1" # Address of the mqtt server
port = 1883 # mqtt servers port
credentials = ["username", "password"] # mqtt server login details
@@ -288,7 +288,7 @@ Disabling these may help to conserve battery
```toml
bind = "0.0.0.0"
[[mqtt]]
[mqtt]
broker_addr = "127.0.0.1" # Address of the mqtt server
port = 1883 # mqtt servers port
credentials = ["username", "password"] # mqtt server login details