mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-04 16:37:12 -05:00
typo
This commit is contained in:
parent
9c3f2ada47
commit
8a83a0b30e
@ -19,7 +19,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.Response = new(NoneResponse)
|
this.Response = new(NoneResponse)
|
||||||
if jsonConfig.Response == nil {
|
if jsonConfig.Response != nil {
|
||||||
loader := loader.NewJSONConfigLoader("type", "")
|
loader := loader.NewJSONConfigLoader("type", "")
|
||||||
loader.RegisterCreator("none", func() interface{} { return new(NoneResponse) })
|
loader.RegisterCreator("none", func() interface{} { return new(NoneResponse) })
|
||||||
loader.RegisterCreator("http", func() interface{} { return new(HTTPResponse) })
|
loader.RegisterCreator("http", func() interface{} { return new(HTTPResponse) })
|
||||||
|
Loading…
Reference in New Issue
Block a user