File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -71,16 +71,17 @@ node llonebot.js --pmhq-host=127.0.0.1 --pmhq-port=13000
7171
7272## LLOneBot 配置文件
7373
74- 配置文件是自动生成的
74+ 配置文件是自动生成的,位于 data/config _ <qq号>.json
7575
7676修改后会自动重载,无需重启 QQ 和 LLOneBot
7777
78+ config_ <qq号>.json 示例:
79+
7880``` json5
7981{
8082 " webui" : {
8183 " enable" : true , // 是否启用 WebUI
82- " port" : 3080 , // WebUI 监听端口
83- " token" : " " , // WebUI 的访问 密码,留空时首次访问会要求设置密码
84+ " port" : 3080 // WebUI 监听端口
8485 },
8586 " satori" : {
8687 " enable" : true , // 是否启用 Satori 协议
@@ -117,6 +118,16 @@ node llonebot.js --pmhq-host=127.0.0.1 --pmhq-port=13000
117118}
118119```
119120
121+ ## 启用无头模式
122+
123+ 修改 ` pmhq_config.json ` ,把 ` headless ` 设置为 ` true `
124+
125+ 如果没有 ` pmhq_config.json ` 运行一下 llonebot.exe 即可
126+
127+ 二维码的网址和文件路径会打印在终端上,也可以访问 WebUI 进行登录, WebUI 默认地址为 ` http://localhost:3080 `
128+
129+ 如果是 Docker 部署,进入容器日志会看到二维码会打印在终端上
130+
120131## 下一步
121132
122133参阅 [ 对接其他框架] ( ./configuration.md#对接其他框架 )
You can’t perform that action at this time.
0 commit comments