mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-31 17:45:00 +03:00
@@ -1753,15 +1753,13 @@ public static class ConfigHandler
|
|||||||
{
|
{
|
||||||
lstProfiles = SingboxFmt.ResolveToCustomOutbound(strData, subRemarks);
|
lstProfiles = SingboxFmt.ResolveToCustomOutbound(strData, subRemarks);
|
||||||
}
|
}
|
||||||
if (lstProfiles.Count == 0)
|
if (lstProfiles.Count > 0)
|
||||||
{
|
{
|
||||||
return -1;
|
var count = await AddBatchCustomServers(config, lstProfiles, subid, isSub);
|
||||||
}
|
if (count > 0)
|
||||||
|
{
|
||||||
var count = await AddBatchCustomServers(config, lstProfiles, subid, isSub);
|
return count;
|
||||||
if (count > 0)
|
}
|
||||||
{
|
|
||||||
return count;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (HtmlPageFmt.IsHtmlPage(strData))
|
if (HtmlPageFmt.IsHtmlPage(strData))
|
||||||
@@ -1801,15 +1799,13 @@ public static class ConfigHandler
|
|||||||
_ => null,
|
_ => null,
|
||||||
};
|
};
|
||||||
|
|
||||||
if ((lstProfiles?.Count ?? 0) == 0)
|
if (lstProfiles?.Count > 0)
|
||||||
{
|
{
|
||||||
return -1;
|
var count = await AddBatchCustomServers(config, lstProfiles, subid, isSub);
|
||||||
}
|
if (count > 0)
|
||||||
|
{
|
||||||
var count = await AddBatchCustomServers(config, lstProfiles, subid, isSub);
|
return count;
|
||||||
if (count > 0)
|
}
|
||||||
{
|
|
||||||
return count;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return await SaveCustomRawFileServer(config, strData, subid, isSub, subItem, customCoreType);
|
return await SaveCustomRawFileServer(config, strData, subid, isSub, subItem, customCoreType);
|
||||||
|
|||||||
Reference in New Issue
Block a user