mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-27 09:02:07 +03:00
Add IP cert support (#8833)
This commit is contained in:
@@ -247,11 +247,6 @@ public class AddServerViewModel : MyReactiveObject
|
||||
{
|
||||
serverName = SelectedSource.Address;
|
||||
}
|
||||
if (!Utils.IsDomain(serverName))
|
||||
{
|
||||
UpdateCertTip(ResUI.ServerNameMustBeValidDomain);
|
||||
return;
|
||||
}
|
||||
if (SelectedSource.Port > 0)
|
||||
{
|
||||
domain += $":{SelectedSource.Port}";
|
||||
@@ -277,11 +272,6 @@ public class AddServerViewModel : MyReactiveObject
|
||||
{
|
||||
serverName = SelectedSource.Address;
|
||||
}
|
||||
if (!Utils.IsDomain(serverName))
|
||||
{
|
||||
UpdateCertTip(ResUI.ServerNameMustBeValidDomain);
|
||||
return;
|
||||
}
|
||||
if (SelectedSource.Port > 0)
|
||||
{
|
||||
domain += $":{SelectedSource.Port}";
|
||||
|
||||
Reference in New Issue
Block a user