Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正文档错误 #34

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ OneDisc 完成启动后打印的日志的内容
| 项目 | 类型 | 必须 | 默认值 | 说明 |
|--------------------|----------------|------|--------------------|-----------------------------|
| `type` | 字符串 | 是 | 无 | 连接类型,为`ws` |
| `protocol_version` | 数字 | | `12` | 协议版本,为 `11` |
| `protocol_version` | 数字 | | `12` | 协议版本,为 `11` |
| `port` | 数字 | 否 | `6700` | WebSocket 服务器端口 |
| `host` | 字符串 | 否 | `0.0.0.0` | WebSocket 服务器 IP |
| `access_token` | 字符串/空 | 否 | `null` | 访问令牌 |
Expand Down Expand Up @@ -540,7 +540,7 @@ OneDisc 完成启动后打印的日志的内容
| 项目 | 类型 | 必须 | 默认值 | 说明 |
|--------------------|----------------|------|--------------------|-----------------------------|
| `type` | 字符串 | 是 | 无 | 连接类型,为`ws-reverse` |
| `protocol_version` | 数字 | | `12` | 协议版本,为 `11` |
| `protocol_version` | 数字 | | `12` | 协议版本,为 `11` |
| `url` | 字符串 | 否 | 无 | WebSocket 服务器地址 |
| `api_url` | 字符串 | 否 | 无 | WebSocket API 服务器地址,为空时填入 `url` 字段的配置 |
| `event_url` | 字符串 | 否 | 无 | WebSocket Event 服务器地址,为空时填入 `url` 字段的配置 |
Expand Down
Loading