Do not use fixed string
This commit is contained in:
parent
d57264db3e
commit
0d8113e52b
@ -93,7 +93,8 @@ var GenericServer = class {
|
|||||||
if ( this.proxy )
|
if ( this.proxy )
|
||||||
{
|
{
|
||||||
this.monitoLog ( 'monito Proxy ' + this.proxy + ' for ' + this.name );
|
this.monitoLog ( 'monito Proxy ' + this.proxy + ' for ' + this.name );
|
||||||
let proxy = new Gio.SimpleProxyResolver ( { default_proxy: 'socks://127.0.0.1:3128' } );
|
let proxy = new Gio.SimpleProxyResolver ( { default_proxy: this.proxy } );
|
||||||
|
//let proxy = new Gio.SimpleProxyResolver ( { default_proxy: 'socks://127.0.0.1:3128' } );
|
||||||
this._httpSession.proxy_resolver = proxy;
|
this._httpSession.proxy_resolver = proxy;
|
||||||
}
|
}
|
||||||
// Soup.Session.prototype.add_feature.call(this._httpSession, new Soup.SimpleProxyResolver());
|
// Soup.Session.prototype.add_feature.call(this._httpSession, new Soup.SimpleProxyResolver());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user