Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Jul 10, 2024
1 parent 7545763 commit 39faccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ private int GenDnsDomains(ProfileItem? node, SingboxConfig singboxConfig, string
tag = tag,
address = "223.5.5.5",
detour = Global.DirectTag,
strategy = strategy
strategy = Utils.IsNullOrEmpty(strategy) ? null : strategy,
});

var lstDomain = singboxConfig.outbounds
Expand Down
1 change: 1 addition & 0 deletions v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ protected static int ResolveStdTransport(NameValueCollection query, ref ProfileI
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)
Expand Down

0 comments on commit 39faccf

Please sign in to comment.