Remove secret data from mihomo configuration

This commit is contained in:
2dust
2025-09-24 18:41:00 +08:00
parent 6b85aa0b03
commit faff8e4ea2

View File

@@ -79,6 +79,7 @@ public class CoreConfigClashService
//external-controller
fileContent["external-controller"] = $"{Global.Loopback}:{AppManager.Instance.StatePort2}";
fileContent.Remove("secret");
//allow-lan
if (_config.Inbound.First().AllowLANConn)
{