mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -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