mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 21:23:04 +00:00
Compare commits
13 commits
f7a1e437e9
...
3314b4ac8c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3314b4ac8c | ||
|
|
810c4f5302 | ||
|
|
2ce52f5392 | ||
|
|
0075939a73 | ||
|
|
e9a6411698 | ||
|
|
6d35abe7ca | ||
|
|
d4fdb93b55 | ||
|
|
36dc824f2f | ||
|
|
0ac7e87158 | ||
|
|
9c20beb6da | ||
|
|
c6dd26e324 | ||
|
|
437ba09d06 | ||
|
|
3768e0d989 |
2 changed files with 3 additions and 7 deletions
|
|
@ -188,10 +188,10 @@ public static class CoreConfigHandler
|
||||||
var newItems = new List<ProfileItem> { node };
|
var newItems = new List<ProfileItem> { node };
|
||||||
if (node.ConfigType.IsGroupType())
|
if (node.ConfigType.IsGroupType())
|
||||||
{
|
{
|
||||||
var (groupChildList, _) = await GroupProfileManager.GetChildProfileItems(node);
|
var groupChildList = await GroupProfileManager.GetAllChildProfileItems(node);
|
||||||
foreach (var childItem in groupChildList.Where(childItem => !context.AllProxiesMap.ContainsKey(childItem.IndexId)))
|
foreach (var childItem in groupChildList)
|
||||||
{
|
{
|
||||||
await FillNodeContext(context, childItem, false);
|
context.AllProxiesMap[childItem.IndexId] = childItem;
|
||||||
}
|
}
|
||||||
node.SetProtocolExtra(node.GetProtocolExtra() with
|
node.SetProtocolExtra(node.GetProtocolExtra() with
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -348,10 +348,6 @@ public partial class CoreConfigSingboxService
|
||||||
private void GenMinimizedDns()
|
private void GenMinimizedDns()
|
||||||
{
|
{
|
||||||
GenDnsServers();
|
GenDnsServers();
|
||||||
foreach (var server in _coreConfig.dns!.servers.Where(s => !string.IsNullOrEmpty(s.detour)).ToList())
|
|
||||||
{
|
|
||||||
_coreConfig.dns.servers.Remove(server);
|
|
||||||
}
|
|
||||||
_coreConfig.dns ??= new();
|
_coreConfig.dns ??= new();
|
||||||
_coreConfig.dns.rules ??= [];
|
_coreConfig.dns.rules ??= [];
|
||||||
_coreConfig.dns.rules.Clear();
|
_coreConfig.dns.rules.Clear();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue