mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-04 11:39:08 -04:00
completely remove json folder in v2ray
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
_ "github.com/v2ray/v2ray-core/app/router/rules"
|
||||
"github.com/v2ray/v2ray-core/common/log"
|
||||
"github.com/v2ray/v2ray-core/shell/point"
|
||||
pointjson "github.com/v2ray/v2ray-core/shell/point/json"
|
||||
|
||||
// The following are neccesary as they register handlers in their init functions.
|
||||
_ "github.com/v2ray/v2ray-core/proxy/blackhole"
|
||||
@@ -39,7 +38,7 @@ func InitializeServerSetOnce(testcase string) error {
|
||||
}
|
||||
|
||||
func InitializeServer(configFile string) error {
|
||||
config, err := pointjson.LoadConfig(configFile)
|
||||
config, err := point.LoadConfig(configFile)
|
||||
if err != nil {
|
||||
log.Error("Failed to read config file (%s): %v", configFile, err)
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user