mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-29 03:02:53 +00:00
Avoid xray warning
This commit is contained in:
parent
91536d3923
commit
0b5627941f
2 changed files with 0 additions and 3 deletions
|
|
@ -411,8 +411,6 @@ public class WsSettings4Ray
|
|||
|
||||
public class Headers4Ray
|
||||
{
|
||||
public string Host { get; set; }
|
||||
|
||||
[JsonPropertyName("User-Agent")]
|
||||
public string UserAgent { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -351,7 +351,6 @@ public partial class CoreConfigV2rayService
|
|||
if (host.IsNotEmpty())
|
||||
{
|
||||
wsSettings.host = host;
|
||||
wsSettings.headers.Host = host;
|
||||
}
|
||||
if (path.IsNotEmpty())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue