Browse Source

修复“克隆服务器”未带入allowInsecure的问题

pull/612/head
Splash 5 years ago
parent
commit
49355da702
No known key found for this signature in database
GPG Key ID: 1F38B5EFBF4557BE
  1. 5
      v2rayN/v2rayN/Handler/ConfigHandler.cs

5
v2rayN/v2rayN/Handler/ConfigHandler.cs

@ -276,18 +276,19 @@ namespace v2rayN.Handler
VmessItem vmessItem = new VmessItem
{
configVersion = config.vmess[index].configVersion,
configType = config.vmess[index].configType,
address = config.vmess[index].address,
port = config.vmess[index].port,
id = config.vmess[index].id,
alterId = config.vmess[index].alterId,
security = config.vmess[index].security,
network = config.vmess[index].network,
remarks = string.Format("{0}-clone", config.vmess[index].remarks),
headerType = config.vmess[index].headerType,
requestHost = config.vmess[index].requestHost,
path = config.vmess[index].path,
streamSecurity = config.vmess[index].streamSecurity,
remarks = string.Format("{0}-clone", config.vmess[index].remarks)
allowInsecure = config.vmess[index].allowInsecure,
configType = config.vmess[index].configType
};
config.vmess.Insert(index + 1, vmessItem); // 插入到下一项

Loading…
Cancel
Save