mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
1. Updated global-tunnel to always use the object cached by the module loader, fixing a bug where the native and JS instances didn't match
2. Updated proxy-helper to always end a global-tunnel before fetching the auto-proxy script, fixing a bug where auto-proxy couldn't be fetched correctly after autoproxy was configured
This commit is contained in:
@@ -582,6 +582,10 @@ function windows_getProxy()
|
||||
|
||||
function auto_proxy_helper(target)
|
||||
{
|
||||
// The first thing we need to do, is disable any existing proxy settings, otherwise we won't be able to find the autoconfig script
|
||||
require('global-tunnel').end();
|
||||
|
||||
|
||||
var promise = require('promise');
|
||||
|
||||
var ret = new promise(promise.defaultInit);
|
||||
|
||||
Reference in New Issue
Block a user