Remove unnecessary pointer value

This commit is contained in:
Andy Wang 2019-09-15 21:33:35 +01:00
parent 8a6f6b6088
commit eec295a00e
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ func (sta *State) ParseConfig(conf string) (err error) {
case "cdn": case "cdn":
sta.Transport = WSOverTLS{} sta.Transport = WSOverTLS{}
default: default:
sta.Transport = &DirectTLS{} sta.Transport = DirectTLS{}
} }
sta.ProxyMethod = preParse.ProxyMethod sta.ProxyMethod = preParse.ProxyMethod