Sfoglia il codice sorgente

enable v5 json configure file format

Shelikhoo 4 anni fa
parent
commit
947166173a
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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"
 )