mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 20:50:09 +00:00
fix bug
This commit is contained in:
@@ -70,9 +70,7 @@ func InboundBuilder(config *Config, nodeInfo *api.NodeInfo, tag string) (*core.I
|
|||||||
} else if nodeInfo.NodeType == "Shadowsocks" {
|
} else if nodeInfo.NodeType == "Shadowsocks" {
|
||||||
defer func() {
|
defer func() {
|
||||||
nodeInfo.V2ray = nil
|
nodeInfo.V2ray = nil
|
||||||
nodeInfo.SS = nil
|
|
||||||
}()
|
}()
|
||||||
defer func() { nodeInfo.V2ray = nil; nodeInfo.SS = nil }()
|
|
||||||
nodeInfo.V2ray = &api.V2rayConfig{}
|
nodeInfo.V2ray = &api.V2rayConfig{}
|
||||||
nodeInfo.V2ray.Inbounds = []conf.InboundDetourConfig{{Protocol: "shadowsocks"}}
|
nodeInfo.V2ray.Inbounds = []conf.InboundDetourConfig{{Protocol: "shadowsocks"}}
|
||||||
proxySetting = &conf.ShadowsocksServerConfig{}
|
proxySetting = &conf.ShadowsocksServerConfig{}
|
||||||
|
|||||||
Reference in New Issue
Block a user