mirror of https://github.com/cbeuw/Cloak
Remove unnecessary pointer value
This commit is contained in:
parent
8a6f6b6088
commit
eec295a00e
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue