fix: disable grpc core
This commit is contained in:
@@ -394,6 +394,7 @@ func BuildConfig(opt ConfigOptions, input option.Options) (*option.Options, erro
|
|||||||
OutboundMainProxyTag = OutboundSelectTag
|
OutboundMainProxyTag = OutboundSelectTag
|
||||||
//inbound==warp over proxies
|
//inbound==warp over proxies
|
||||||
//outbound==proxies over warp
|
//outbound==proxies over warp
|
||||||
|
fmt.Printf("opt.Warp=%+v\n", opt.Warp)
|
||||||
if opt.Warp.EnableWarp && (opt.Warp.Mode == "warp_over_proxy" || opt.Warp.Mode == "proxy_over_warp") {
|
if opt.Warp.EnableWarp && (opt.Warp.Mode == "warp_over_proxy" || opt.Warp.Mode == "proxy_over_warp") {
|
||||||
|
|
||||||
out, err := generateWarpSingbox(opt.Warp.WireguardConfig.ToWireguardConfig(), opt.Warp.CleanIP, opt.Warp.CleanPort, opt.Warp.FakePackets, opt.Warp.FakePacketSize, opt.Warp.FakePacketDelay)
|
out, err := generateWarpSingbox(opt.Warp.WireguardConfig.ToWireguardConfig(), opt.Warp.CleanIP, opt.Warp.CleanPort, opt.Warp.FakePackets, opt.Warp.FakePacketSize, opt.Warp.FakePacketDelay)
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Setup() error {
|
func Setup() error {
|
||||||
return config.StartGRPCServer(7078)
|
// return config.StartGRPCServer(7078)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func Parse(path string, tempPath string, debug bool) error {
|
func Parse(path string, tempPath string, debug bool) error {
|
||||||
@@ -44,6 +45,7 @@ func BuildConfig(path string, configOptionsJson string) (string, error) {
|
|||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return config.BuildConfigJson(*configOptions, options)
|
return config.BuildConfigJson(*configOptions, options)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user