fix clash port

pull/2192/head
2dust 2022-04-12 13:38:10 +08:00
parent fde1c98ddd
commit 785ebc49fc
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ namespace v2rayN.Handler
case ECoreType.Xray:
break;
case ECoreType.clash:
fileContent.Add($"port: {LazyConfig.Instance.GetConfig().GetLocalPort(Global.InboundHttp)}");
fileContent.Add($"port: {LazyConfig.Instance.GetConfig().GetLocalPort(Global.InboundHttp2)}");
fileContent.Add($"socks-port: {LazyConfig.Instance.GetConfig().GetLocalPort(Global.InboundSocks)}");
break;
}