fix reality parsing

This commit is contained in:
Zongxin Gan
2024-02-19 00:31:56 +08:00
parent fd8164b08e
commit b053281790
2 changed files with 13 additions and 13 deletions

View File

@ -16,8 +16,8 @@ type GrpcOptions struct {
}
type RealityOptions struct {
PublicKey string `proxy:"public-key"`
ShortID string `proxy:"short-id"`
PublicKey string `yaml:"public-key"`
ShortID string `yaml:"short-id,omitempty"`
}
type WSOptions struct {