Explorar o código

enable v5 json configure file format

Shelikhoo %!s(int64=4) %!d(string=hai) anos
pai
achega
947166173a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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"
 )