mirror of https://github.com/2dust/v2rayN
Remove secret data from mihomo configuration
parent
6b85aa0b03
commit
faff8e4ea2
|
@ -79,6 +79,7 @@ public class CoreConfigClashService
|
||||||
|
|
||||||
//external-controller
|
//external-controller
|
||||||
fileContent["external-controller"] = $"{Global.Loopback}:{AppManager.Instance.StatePort2}";
|
fileContent["external-controller"] = $"{Global.Loopback}:{AppManager.Instance.StatePort2}";
|
||||||
|
fileContent.Remove("secret");
|
||||||
//allow-lan
|
//allow-lan
|
||||||
if (_config.Inbound.First().AllowLANConn)
|
if (_config.Inbound.First().AllowLANConn)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue