Browse Source

Bug fix

pull/5377/head
2dust 5 months ago
parent
commit
39faccfd0b
  1. 2
      v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs
  2. 1
      v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs

2
v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs

@ -847,7 +847,7 @@ namespace v2rayN.Handler.CoreConfig
tag = tag,
address = "223.5.5.5",
detour = Global.DirectTag,
strategy = strategy
strategy = Utils.IsNullOrEmpty(strategy) ? null : strategy,
});
var lstDomain = singboxConfig.outbounds

1
v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs

@ -137,6 +137,7 @@ namespace v2rayN.Handler.Fmt
item.publicKey = Utils.UrlDecode(query["pbk"] ?? "");
item.shortId = Utils.UrlDecode(query["sid"] ?? "");
item.spiderX = Utils.UrlDecode(query["spx"] ?? "");
item.allowInsecure = (query["allowInsecure"] ?? "") == "1" ? "true" : "";
item.network = query["type"] ?? nameof(ETransport.tcp);
switch (item.network)

Loading…
Cancel
Save