docs: update wg-basic/yml

This commit is contained in:
Administrator 2021-10-22 06:17:37 +00:00 committed by John Smith
parent e759aee779
commit c9058d204e

View File

@ -2,7 +2,7 @@
title: 2.配置文件详解 title: 2.配置文件详解
description: yml配置文件详解 description: yml配置文件详解
published: true published: true
date: 2021-10-12T07:11:53.398Z date: 2021-10-22T06:17:36.447Z
tags: wg-basic tags: wg-basic
editor: markdown editor: markdown
dateCreated: 2021-07-29T06:22:48.973Z dateCreated: 2021-07-29T06:22:48.973Z
@ -117,6 +117,22 @@ UI访问地址
- 原版:/swagger-ui.html - 原版:/swagger-ui.html
- 美化:/doc.html - 美化:/doc.html
## 即时消息
```yaml
websocket:
url: 127.0.0.1
port: 8081
context: websocket
```
| 配置 | 属性 | 说明 | 必填 | 默认值
|:-:|:-:|:-:|:-:|:-:|
| websocket.url | url | 访问地址 | N | 127.0.0.1 |
| websocket.port | port | 访问端口 | N | 1991 |
| websocket.context | context | 上下文 | N | websocket |
# 完整示例 # 完整示例
```yml ```yml
server: server: