From 0f1a310a7f7cdb191562f2a35d9e1f848ce9a025 Mon Sep 17 00:00:00 2001 From: fangzheng Date: Fri, 30 Jul 2021 17:45:11 +0800 Subject: [PATCH] update new format for proxy server Fixed: #1705 --- v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs b/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs index 5372fd79..7b1e62c0 100644 --- a/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs +++ b/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs @@ -41,7 +41,7 @@ namespace v2rayN.HttpProxyHandler if (type == ListenerType.GlobalHttp) { //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) { @@ -166,7 +166,7 @@ namespace v2rayN.HttpProxyHandler } 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) {