mirror of
https://github.com/netchx/netch.git
synced 2026-03-26 18:49:46 +08:00
refactor: Add IServerController.Server and use in ModeControllers
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Netch.Controllers
|
||||
|
||||
try
|
||||
{
|
||||
pPrivoxyController.Start(s, mode);
|
||||
pPrivoxyController.Start(MainController.ServerController.Server, mode);
|
||||
|
||||
if (mode.Type == 3) NativeMethods.SetGlobal($"127.0.0.1:{Global.Settings.HTTPLocalPort}", IEProxyExceptions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user