From 947166173a7a379dbdd74f0ee4589f133206200c Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sat, 4 Sep 2021 19:58:03 +0100 Subject: [PATCH] enable v5 json configure file format --- main/distro/all/all.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/distro/all/all.go b/main/distro/all/all.go index 58df6baa5..a1f7836c3 100644 --- a/main/distro/all/all.go +++ b/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" )