Code clean

This commit is contained in:
2dust
2025-12-07 15:32:03 +08:00
parent 592f1260b5
commit 5bef02bd6d
3 changed files with 4 additions and 8 deletions
@@ -12,8 +12,10 @@ public class ActionPrecheckManager(Config config)
// sing-box supported transports for different protocol types
private static readonly HashSet<string> SingboxUnsupportedTransports = [nameof(ETransport.kcp), nameof(ETransport.xhttp)];
private static readonly HashSet<EConfigType> SingboxTransportSupportedProtocols =
[EConfigType.VMess, EConfigType.VLESS, EConfigType.Trojan, EConfigType.Shadowsocks];
private static readonly HashSet<string> SingboxShadowsocksAllowedTransports =
[nameof(ETransport.tcp), nameof(ETransport.ws), nameof(ETransport.quic)];