chore: 修改aiocqhttp适配器默认端口为2280

This commit is contained in:
Junyan Qin
2024-11-17 10:18:56 +08:00
parent 6238f430e8
commit 036c2182a5
3 changed files with 6 additions and 5 deletions

View File

@@ -8,5 +8,6 @@ services:
- ./plugins:/app/plugins
restart: on-failure
ports:
- 5300:5300
- 5300:5300 # 供 WebUI 使用
- 2280-2290:2280-2290 # 供消息平台适配器方向连接
# 根据具体环境配置网络

View File

@@ -12,7 +12,7 @@
"adapter": "aiocqhttp",
"enable": false,
"host": "0.0.0.0",
"port": 8080,
"port": 2280,
"access-token": ""
},
{

View File

@@ -68,12 +68,12 @@
"host": {
"type": "string",
"default": "0.0.0.0",
"description": "监听的 IP 地址,一般就保持 0.0.0.0 就可以了。使用 aiocqhttp 时LangBot 作为服务端被动等待框架连接,请在 Lagrange 等框架中设置被动 ws 地址或者反向 ws 地址(具体视框架而定)为 LangBot 监听的地址,且路径为/ws例如ws://127.0.0.1:8080/ws"
"description": "监听的 IP 地址,一般就保持 0.0.0.0 就可以了。使用 aiocqhttp 时LangBot 作为服务端被动等待框架连接,请在 Lagrange 等框架中设置被动 ws 地址或者反向 ws 地址(具体视框架而定)为 LangBot 监听的地址,且路径为/ws例如ws://127.0.0.1:2280/ws"
},
"port": {
"type": "integer",
"default": 8080,
"description": "设置监听的端口,默认8080需在 Lagrange 等框架中设置为与此处一致的端口"
"default": 2290,
"description": "设置监听的端口,默认2280需在 Lagrange 等框架中设置为与此处一致的端口"
},
"access-token": {
"type": "string",