Fix: snell should support the config without obfs

This commit is contained in:
Dreamacro
2020-12-24 13:47:56 +08:00
parent 532396d25c
commit ed27898a33
2 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,7 @@ type ShadowSocksOption struct {
}
type simpleObfsOption struct {
Mode string `obfs:"mode"`
Mode string `obfs:"mode,omitempty"`
Host string `obfs:"host,omitempty"`
}