Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Feb 4, 2025
1 parent 41df26b commit 97dfb17
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/config/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<!-- NapCat 的目录保存了配置文件、日志和缓存等信息。 -->

:::warning
请勿将注释内容写入配置文件,否则会导致配置文件解析失败。
4.4.7 或更高版本可忽略此限制,在启动前可以在JSON写入注释和尾随逗号。
低于 4.4.7 请勿将注释内容写入配置文件,否则会导致配置文件解析失败,新版本不受限制。
:::

## 配置网络类型 <Badge type="danger" text="必备知识" />
Expand Down Expand Up @@ -60,10 +59,7 @@

**非常不推荐 除非你非常熟悉**

:::warning
请勿将注释内容写入配置文件,否则会导致配置文件解析失败。
4.4.7 或更高版本可忽略此限制,在启动前可以在JSON写入注释和尾随逗号。
:::
<mark>v4.5.3 后支持载入 ./config/onebot11.json 作为默认配置</mark>

该配置文件名为 ``` ./config/onebot11_xxxx.json ``` 其中xxxx为对应QQ账户

Expand Down Expand Up @@ -179,10 +175,7 @@

**如果不懂干嘛,不用看啦** 在这里你可以修改日志等基础设置

:::warning
请勿将注释内容写入配置文件,否则会导致配置文件解析失败。
4.4.7 或更高版本可忽略此限制,在启动前可以在JSON写入注释和尾随逗号。
:::
<mark>v4.5.3 后支持载入 ./config/napcat.json作为默认配置</mark>

启动登录 NapCat 后,打开 NapCat 的 `config` 目录,找到名为 `napcat_<你的QQ号>.json` 的文件,如 `napcat_1234567.json`

Expand Down

0 comments on commit 97dfb17

Please sign in to comment.