Fix GenerateV2RayConfig

This commit is contained in:
ChsBuffer
2020-12-22 20:59:29 +08:00
parent b5c7ca4c1a
commit 6bdcc7ce04
2 changed files with 6 additions and 6 deletions

View File

@@ -14,17 +14,17 @@ namespace Netch.Servers.VLESS
/// <summary>
/// 加密方式
/// </summary>
public new string EncryptMethod { get; set; } = "none";
public override string EncryptMethod { get; set; } = "none";
/// <summary>
/// 传输协议
/// </summary>
public new string TransferProtocol { get; set; } = VLESSGlobal.TransferProtocols[0];
public override string TransferProtocol { get; set; } = VLESSGlobal.TransferProtocols[0];
/// <summary>
/// 伪装类型
/// </summary>
public new string FakeType { get; set; } = VLESSGlobal.FakeTypes[0];
public override string FakeType { get; set; } = VLESSGlobal.FakeTypes[0];
/// <summary>
///

View File

@@ -24,18 +24,18 @@ namespace Netch.Servers.VMess
/// <summary>
/// 加密方式
/// </summary>
public string EncryptMethod { get; set; } = VMessGlobal.EncryptMethods[0];
public virtual string EncryptMethod { get; set; } = VMessGlobal.EncryptMethods[0];
/// <summary>
/// 传输协议
/// </summary>
public string TransferProtocol { get; set; } = VMessGlobal.TransferProtocols[0];
public virtual string TransferProtocol { get; set; } = VMessGlobal.TransferProtocols[0];
/// <summary>
/// 伪装类型
/// </summary>
public string FakeType { get; set; } = VMessGlobal.FakeTypes[0];
public virtual string FakeType { get; set; } = VMessGlobal.FakeTypes[0];
/// <summary>
/// QUIC