mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-10 05:19:42 +05:00
Avoid xray warning (#8369)
This commit is contained in:
@@ -411,8 +411,6 @@ public class WsSettings4Ray
|
|||||||
|
|
||||||
public class Headers4Ray
|
public class Headers4Ray
|
||||||
{
|
{
|
||||||
public string Host { get; set; }
|
|
||||||
|
|
||||||
[JsonPropertyName("User-Agent")]
|
[JsonPropertyName("User-Agent")]
|
||||||
public string UserAgent { get; set; }
|
public string UserAgent { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -351,7 +351,6 @@ public partial class CoreConfigV2rayService
|
|||||||
if (host.IsNotEmpty())
|
if (host.IsNotEmpty())
|
||||||
{
|
{
|
||||||
wsSettings.host = host;
|
wsSettings.host = host;
|
||||||
wsSettings.headers.Host = host;
|
|
||||||
}
|
}
|
||||||
if (path.IsNotEmpty())
|
if (path.IsNotEmpty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user