Fixes Shadowquic Config Generate

This commit is contained in:
DHR60 2025-07-30 09:20:18 +08:00
parent 6319684592
commit c820b58067

View file

@ -53,7 +53,7 @@ public class CoreConfigShadowquicService
configYamlNode["inbound"] = inboundNode; configYamlNode["inbound"] = inboundNode;
// outbound // outbound
var alpn = new JsonArray(); var alpn = new List<string>();
foreach (var item in node.GetAlpn() ?? new List<string>()) foreach (var item in node.GetAlpn() ?? new List<string>())
{ {
alpn.Add(item); alpn.Add(item);