Update CoreConfigV2rayService.cs

This commit is contained in:
2dust 2025-03-04 10:31:54 +08:00 committed by GitHub
parent b6b3afb851
commit d5e70daa60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -916,7 +916,7 @@ namespace ServiceLib.Services.CoreConfig
kcpSettings.header = new Header4Ray kcpSettings.header = new Header4Ray
{ {
type = node.HeaderType, type = node.HeaderType,
domain = host domain = host.IsNullOrEmpty() ? null : host
}; };
if (Utils.IsNotEmpty(path)) if (Utils.IsNotEmpty(path))
{ {