mirror of
https://github.com/wangdage12/Snap.Hutao.git
synced 2026-07-31 04:10:25 +08:00
修复HTTP代理本地地址绕过问题
This commit is contained in:
@@ -93,6 +93,8 @@ internal sealed class HutaoWebProxy : IWebProxy
|
|||||||
WebProxy webProxy = new()
|
WebProxy webProxy = new()
|
||||||
{
|
{
|
||||||
Address = new Uri($"http://{address}:{port}"),
|
Address = new Uri($"http://{address}:{port}"),
|
||||||
|
BypassProxyOnLocal = false,
|
||||||
|
UseDefaultCredentials = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
return webProxy;
|
return webProxy;
|
||||||
|
|||||||
Reference in New Issue
Block a user