Browse Source

enable v5 json configure file format

Shelikhoo 4 years ago
parent
commit
947166173a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      main/distro/all/all.go

+ 3 - 0
main/distro/all/all.go

@@ -84,4 +84,7 @@ import (
 	// Commands that rely on jsonv4 format This disable selective compile
 	_ "github.com/v2fly/v2ray-core/v4/main/commands/all/api/jsonv4"
 	_ "github.com/v2fly/v2ray-core/v4/main/commands/all/jsonv4"
+
+	// V5 version of json configure file parser
+	_ "github.com/v2fly/v2ray-core/v4/infra/conf/v5cfg"
 )