Skip to content

Commit

Permalink
chore: domain rules' priority is higher then ips'
Browse files Browse the repository at this point in the history
  • Loading branch information
xchacha20-poly1305 authored and arm64v8a committed Sep 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7931e17 commit 61d032a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/ConfigBuilder.cpp
Original file line number Diff line number Diff line change
@@ -959,12 +959,12 @@ namespace NekoGui {
};

// final add user rule
add_rule_route(status->ipListBlock, true, "block");
add_rule_route(status->ipListRemote, true, tagProxy);
add_rule_route(status->ipListDirect, true, "bypass");
add_rule_route(status->domainListBlock, false, "block");
add_rule_route(status->domainListRemote, false, tagProxy);
add_rule_route(status->domainListDirect, false, "bypass");
add_rule_route(status->ipListBlock, true, "block");
add_rule_route(status->ipListRemote, true, tagProxy);
add_rule_route(status->ipListDirect, true, "bypass");

// built-in rules
status->routingRules += QJsonObject{

0 comments on commit 61d032a

Please sign in to comment.