mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
Fix: V5 config register (#1879)
This commit is contained in:
parent
5157e5fffe
commit
8c6dfb2b6f
@ -40,8 +40,6 @@ func init() {
|
||||
return nil, err
|
||||
}
|
||||
return loadJSONConfig(data)
|
||||
case []byte:
|
||||
return loadJSONConfig(v)
|
||||
case io.Reader:
|
||||
data, err := buf.ReadAllToBytes(&json.Reader{
|
||||
Reader: v,
|
||||
|
Loading…
Reference in New Issue
Block a user