Browse Source

avoid name conflict with .v5.json

Shelikhoo 4 years ago
parent
commit
9d771f2f9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      infra/conf/v5cfg/init.go

+ 1 - 1
infra/conf/v5cfg/init.go

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