mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-24 17:24:40 +00:00
Fix (#8161)
This commit is contained in:
parent
10358064dc
commit
964572817b
1 changed files with 8 additions and 6 deletions
|
|
@ -470,14 +470,16 @@ public partial class CoreConfigSingboxService
|
||||||
{
|
{
|
||||||
// udp dns
|
// udp dns
|
||||||
server.type = "udp";
|
server.type = "udp";
|
||||||
server.server = addressFirst;
|
}
|
||||||
return server;
|
else
|
||||||
|
{
|
||||||
|
// server.type = scheme.ToLower();
|
||||||
|
|
||||||
|
// remove "+local" suffix
|
||||||
|
// TODO: "+local" suffix decide server.detour = "direct" ?
|
||||||
|
server.type = scheme.Replace("+local", "", StringComparison.OrdinalIgnoreCase).ToLower();
|
||||||
}
|
}
|
||||||
|
|
||||||
//server.type = scheme.ToLower();
|
|
||||||
// remove "+local" suffix
|
|
||||||
// TODO: "+local" suffix decide server.detour = "direct" ?
|
|
||||||
server.type = scheme.Replace("+local", "", StringComparison.OrdinalIgnoreCase).ToLower();
|
|
||||||
server.server = domain;
|
server.server = domain;
|
||||||
if (port != 0)
|
if (port != 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue