From f2bd3ff460c7a139821ee10719e07efb2928bd40 Mon Sep 17 00:00:00 2001 From: picklefan Date: Mon, 27 Mar 2023 21:06:20 -0700 Subject: [PATCH] fix typo --- docs/config/transports/websocket.md | 2 +- docs/en/config/transports/websocket.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/transports/websocket.md b/docs/config/transports/websocket.md index 14c8a23..fd90e88 100644 --- a/docs/config/transports/websocket.md +++ b/docs/config/transports/websocket.md @@ -32,7 +32,7 @@ Websocket 会识别 HTTP 请求的 X-Forwarded-For 头来覆写流量的源地 填写 `true` 时,最底层 TCP 连接建立后,请求方必须先发送 PROXY protocol v1 或 v2,否则连接会被关闭。 -> `path` string +> `path`: string WebSocket 所使用的 HTTP 协议路径,默认值为 `"/"`。 diff --git a/docs/en/config/transports/websocket.md b/docs/en/config/transports/websocket.md index 646282f..dc6f91a 100644 --- a/docs/en/config/transports/websocket.md +++ b/docs/en/config/transports/websocket.md @@ -32,7 +32,7 @@ Common reverse proxy software (such as HAProxy and Nginx) can be configured to s When filled in as `true`, after the underlying TCP connection is established, the requesting party must first send PROXY protocol v1 or v2, otherwise the connection will be closed. -> `path` string +> `path`: string The HTTP protocol path used by WebSocket. Default is `"/"`