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:
parent
653bbba843
commit
9d771f2f9f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user