diff --git a/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigV2rayService.cs b/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigV2rayService.cs index e7fa7f0d..f07a9c94 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigV2rayService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigV2rayService.cs @@ -916,7 +916,7 @@ namespace ServiceLib.Services.CoreConfig kcpSettings.header = new Header4Ray { type = node.HeaderType, - domain = host + domain = host.IsNullOrEmpty() ? null : host }; if (Utils.IsNotEmpty(path)) {