mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
Merge pull request #2505 from xinnan-tech/hot-fix
fix:mqtt配置中的websocket连接
This commit is contained in:
commit
92bd207ae5
1 changed files with 3 additions and 3 deletions
|
|
@ -11,12 +11,12 @@
|
||||||
|
|
||||||
1、如果你是源码部署,你的`mqtt-websocket`地址是:
|
1、如果你是源码部署,你的`mqtt-websocket`地址是:
|
||||||
```
|
```
|
||||||
ws://127.0.0.1:8000/xiaozhi/v1?from=mqtt_gateway
|
ws://127.0.0.1:8000/xiaozhi/v1/?from=mqtt_gateway
|
||||||
```
|
```
|
||||||
|
|
||||||
2、如果你是docker部署,你的`mqtt-websocket`地址是
|
2、如果你是docker部署,你的`mqtt-websocket`地址是
|
||||||
```
|
```
|
||||||
ws://你宿主机局域网IP:8000/xiaozhi/v1?from=mqtt_gateway
|
ws://你宿主机局域网IP:8000/xiaozhi/v1/?from=mqtt_gateway
|
||||||
```
|
```
|
||||||
|
|
||||||
## 重要提示
|
## 重要提示
|
||||||
|
|
@ -53,7 +53,7 @@ cp config/mqtt.json.example config/mqtt.json
|
||||||
{
|
{
|
||||||
"production": {
|
"production": {
|
||||||
"chat_servers": [
|
"chat_servers": [
|
||||||
"ws://127.0.0.1:8000/xiaozhi/v1?from=mqtt_gateway"
|
"ws://127.0.0.1:8000/xiaozhi/v1/?from=mqtt_gateway"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"debug": false,
|
"debug": false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue