mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-11-04 01:00:21 +00:00
chore: remove unused
This commit is contained in:
1 parent
19e5ac8a0c
commit
fec573cfce
2 files changed
+1
-2
No files matched your search
@@ -40,7 +40,6 @@ type XrayOptions struct {
|
||||
DNSType string `yaml:"DNSType"`
|
||||
EnableUot bool `yaml:"EnableUot"`
|
||||
EnableTFO bool `yaml:"EnableTFO"`
|
||||
EnableVless bool `yaml:"EnableVless"`
|
||||
DisableIVCheck bool `yaml:"DisableIVCheck"`
|
||||
DisableSniffing bool `yaml:"DisableSniffing"`
|
||||
EnableFallback bool `yaml:"EnableFallback"`
|
||||
|
||||
@@ -138,7 +138,7 @@ func buildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag s
|
||||
}
|
||||
|
||||
func buildV2ray(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, inbound *coreConf.InboundDetourConfig) error {
|
||||
if config.XrayOptions.EnableVless || nodeInfo.ExtraConfig.EnableVless {
|
||||
if nodeInfo.ExtraConfig.EnableVless {
|
||||
//Set vless
|
||||
inbound.Protocol = "vless"
|
||||
if config.XrayOptions.EnableFallback {
|
||||
|
||||
Reference in new issue
Block a user