fix:修复无法读取ProxyProtocol版本

This commit is contained in:
wyx2685 2023-11-19 17:53:18 +09:00
parent 797a2a7f9f
commit dd6a16402c
No known key found for this signature in database
GPG Key ID: 8827A30FF1DB1379

View File

@ -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 {