Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Sep 2, 2024
1 parent 6879c75 commit 3d3d3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigV2ray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ private int GenDnsDomains(ProfileItem? node, JsonNode dns, DNSItem? dNSItem)
address = Utils.IsNullOrEmpty(dNSItem?.domainDNSAddress) ? Global.DomainDNSAddress.FirstOrDefault() : dNSItem?.domainDNSAddress,
domains = [node.address]
};
servers.AsArray().Insert(0, JsonUtils.SerializeToNode(dnsServer));
servers.AsArray().Add(JsonUtils.SerializeToNode(dnsServer));
}
}
return 0;
Expand Down

0 comments on commit 3d3d3f8

Please sign in to comment.