Skip to content

Commit

Permalink
sth
Browse files Browse the repository at this point in the history
  • Loading branch information
mili-tan committed Aug 26, 2024
1 parent 00575be commit 0ab10d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Arashi.Aoi/Routes/DnsQueryRoutes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ public static bool GetIdEnable(HttpContext context)
var userAgent = context.Request.Headers.UserAgent.ToString().ToLower();

var idEnable = Config.TransIdEnable;
var noIdUaList = new List<string> {"intra", "chrome", "curl"};
var needIdUaList = new List<string>
var noIdUaList = new HashSet<string> {"intra", "chrome", "curl"};
var needIdUaList = new HashSet<string>
{"go-http-client", "dnscrypt", "dalvik", "ikuaios", "clash", "quic-go"};

if (queryDictionary.TryGetValue("idEnable", out var str) && bool.TryParse(str, out var idResult))
Expand Down

0 comments on commit 0ab10d9

Please sign in to comment.