mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-20 07:04:08 +00:00
add an option to include JSON loader in v2ray binary.
This commit is contained in:
2 files changed
+19
-1
No files matched your search
@@ -47,8 +47,11 @@ import (
|
||||
_ "v2ray.com/core/transport/internet/headers/utp"
|
||||
_ "v2ray.com/core/transport/internet/headers/wechat"
|
||||
|
||||
// JSON config format
|
||||
// JSON config support. Choose only one from the two below.
|
||||
// The following line loads JSON from v2ctl
|
||||
_ "v2ray.com/core/main/json"
|
||||
// The following line loads JSON internally
|
||||
// _ "v2ray.com/core/main/jsonem"
|
||||
|
||||
// Load config from file or http(s)
|
||||
_ "v2ray.com/core/main/confloader/external"
|
||||
|
||||
Reference in new issue
Block a user