mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-01 20:58:50 +00:00
Bug fix
This commit is contained in:
parent
7545763dae
commit
39faccfd0b
2 changed files with 2 additions and 1 deletions
|
@ -847,7 +847,7 @@ namespace v2rayN.Handler.CoreConfig
|
||||||
tag = tag,
|
tag = tag,
|
||||||
address = "223.5.5.5",
|
address = "223.5.5.5",
|
||||||
detour = Global.DirectTag,
|
detour = Global.DirectTag,
|
||||||
strategy = strategy
|
strategy = Utils.IsNullOrEmpty(strategy) ? null : strategy,
|
||||||
});
|
});
|
||||||
|
|
||||||
var lstDomain = singboxConfig.outbounds
|
var lstDomain = singboxConfig.outbounds
|
||||||
|
|
|
@ -137,6 +137,7 @@ namespace v2rayN.Handler.Fmt
|
||||||
item.publicKey = Utils.UrlDecode(query["pbk"] ?? "");
|
item.publicKey = Utils.UrlDecode(query["pbk"] ?? "");
|
||||||
item.shortId = Utils.UrlDecode(query["sid"] ?? "");
|
item.shortId = Utils.UrlDecode(query["sid"] ?? "");
|
||||||
item.spiderX = Utils.UrlDecode(query["spx"] ?? "");
|
item.spiderX = Utils.UrlDecode(query["spx"] ?? "");
|
||||||
|
item.allowInsecure = (query["allowInsecure"] ?? "") == "1" ? "true" : "";
|
||||||
|
|
||||||
item.network = query["type"] ?? nameof(ETransport.tcp);
|
item.network = query["type"] ?? nameof(ETransport.tcp);
|
||||||
switch (item.network)
|
switch (item.network)
|
||||||
|
|
Loading…
Reference in a new issue