Merge pull request #612 from DevSplash/dev

修复“克隆服务器”未带入allowInsecure的问题
pull/680/head
2dust 5 years ago committed by GitHub
commit 002a8c505c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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