Skip to content

Commit

Permalink
Merge pull request #14 from RTAkland/patch-1
Browse files Browse the repository at this point in the history
为json键值添加引号
  • Loading branch information
KusaGumina authored Aug 17, 2024
2 parents 261ba60 + 4b968d1 commit c084063
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/Lagrange.OneBot/Config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,27 +138,27 @@ NTQQ 的 SignServer **不可与 Android 协议混用**(如 unidbg-fetch-qsign

```json5
{
Type: "ReverseWebSocket",
Host: "127.0.0.1",
Port: 8080,
Suffix: "/onebot/v11/ws",
ReconnectInterval: 5000,
HeartBeatInterval: 5000,
HeartBeatEnable: true,
AccessToken: "",
"Type": "ReverseWebSocket",
"Host": "127.0.0.1",
"Port": 8080,
"Suffix": "/onebot/v11/ws",
"ReconnectInterval": 5000,
"HeartBeatInterval": 5000,
"HeartBeatEnable": true,
"AccessToken": "",
}
```

### 正向 WebSocket 配置

```json5
{
Type: "ForwardWebSocket",
Host: "127.0.0.1",
Port: 8081,
HeartBeatInterval: 5000,
HeartBeatEnable: true,
AccessToken: "",
"Type": "ForwardWebSocket",
"Host": "127.0.0.1",
"Port": 8081,
"HeartBeatInterval": 5000,
"HeartBeatEnable": true,
"AccessToken": "",
}
```

Expand Down Expand Up @@ -187,10 +187,10 @@ NTQQ 的 SignServer **不可与 Android 协议混用**(如 unidbg-fetch-qsign

```json5
{
Type: "Http",
Host: "*",
Port: 8083,
AccessToken: "",
"Type": "Http",
"Host": "*",
"Port": 8083,
"AccessToken": "",
}
```

Expand Down

0 comments on commit c084063

Please sign in to comment.