From dd6a16402ce373a6db398fe2876767144f7ff53b Mon Sep 17 00:00:00 2001 From: wyx2685 Date: Sun, 19 Nov 2023 17:53:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=AF=BB=E5=8F=96ProxyProtocol=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/panel/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/panel/node.go b/api/panel/node.go index 976971b..e6aeba1 100644 --- a/api/panel/node.go +++ b/api/panel/node.go @@ -78,7 +78,7 @@ type TlsSettings struct { ServerPort string `json:"server_port"` ShortId string `json:"short_id"` PrivateKey string `json:"private_key"` - Xver uint8 `json:"xver"` + Xver uint8 `json:"xver,string"` } type RealityConfig struct {