mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-24 03:46:55 +00:00
parent
2fc3e846df
commit
0f1a310a7f
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ namespace v2rayN.HttpProxyHandler
|
||||||
if (type == ListenerType.GlobalHttp)
|
if (type == ListenerType.GlobalHttp)
|
||||||
{
|
{
|
||||||
//ProxySetting.SetProxy($"{Global.Loopback}:{port}", Global.IEProxyExceptions, 2);
|
//ProxySetting.SetProxy($"{Global.Loopback}:{port}", Global.IEProxyExceptions, 2);
|
||||||
SysProxyHandle.SetIEProxy(true, true, $"{Global.Loopback}:{port}");
|
SysProxyHandle.SetIEProxy(true, true, $"{Global.InboundHttp}://{Global.Loopback}:{port}");
|
||||||
}
|
}
|
||||||
else if (type == ListenerType.HttpOpenAndClear)
|
else if (type == ListenerType.HttpOpenAndClear)
|
||||||
{
|
{
|
||||||
|
@ -166,7 +166,7 @@ namespace v2rayN.HttpProxyHandler
|
||||||
}
|
}
|
||||||
if (type == ESysProxyType.ForcedChange)
|
if (type == ESysProxyType.ForcedChange)
|
||||||
{
|
{
|
||||||
SysProxyHandle.SetIEProxy(true, $"{Global.Loopback}:{port}", config.systemProxyExceptions);
|
SysProxyHandle.SetIEProxy(true, $"{Global.InboundHttp}://{Global.Loopback}:{port}", config.systemProxyExceptions);
|
||||||
}
|
}
|
||||||
else if (type == ESysProxyType.ForcedClear)
|
else if (type == ESysProxyType.ForcedClear)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue