1
0
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:
秋のかえで 2022-07-21 22:05:30 +08:00 committed by GitHub
parent 5157e5fffe
commit 8c6dfb2b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,