mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -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)
|
||||
if jsonConfig.Response == nil {
|
||||
if jsonConfig.Response != nil {
|
||||
loader := loader.NewJSONConfigLoader("type", "")
|
||||
loader.RegisterCreator("none", func() interface{} { return new(NoneResponse) })
|
||||
loader.RegisterCreator("http", func() interface{} { return new(HTTPResponse) })
|
||||
|
Loading…
Reference in New Issue
Block a user