up
Some checks are pending
Pre Commit Check / pre-commit (push) Waiting to run

This commit is contained in:
student_2333 2024-12-08 17:28:47 +08:00
parent cf52044e4d
commit 7533dde1a1
No known key found for this signature in database
GPG Key ID: B36E8DF853C33EE1
3 changed files with 15 additions and 1 deletions

BIN
docs/assets/5_2-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 KiB

BIN
docs/assets/5_2-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

View File

@ -245,7 +245,21 @@ Linux 下也可以使用 `./#run.sh`
下载安装步骤参见 [NapCat 文档](https://napcat.napneko.icu/guide/start-install)
安装好后修改其配置文件使其以反向 Websocket 连接到 NoneBot 即可,参考下面配置,记得把下面的 `8080` 修改成你之前配置的端口号
安装好后修改其配置使其以反向 Websocket 连接到 NoneBot 即可,以下两种方式选择 **其中一种** 即可
#### 使用 WebUI 修改配置
从 NapCat 控制台中找到 WebUI 的地址,如下图框住的部分(两个都是,只是界面设计不同),复制进浏览器打开
![5.2-1](./assets/5_2-1.png)
之后依照下方图中步骤添加网络配置即可
![5.2-2](./assets/5_2-2.png)
#### 手动修改配置文件
找到 NapCat 的配置文件,参考下面配置,记得把下面的 `8080` 修改成你之前配置的端口号
```jsonc
{