1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -05:00

avoid name conflict with .v5.json

This commit is contained in:
Shelikhoo 2021-09-04 22:56:23 +01:00
parent 653bbba843
commit 9d771f2f9f
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -13,7 +13,7 @@ const jsonV5 = "jsonv5"
func init() {
common.Must(core.RegisterConfigLoader(&core.ConfigFormat{
Name: []string{jsonV5},
Extension: []string{".json"},
Extension: []string{".v5.json"},
Loader: func(input interface{}) (*core.Config, error) {
switch v := input.(type) {
case string: