Do not use fixed string

This commit is contained in:
Benjamin Drieu 2023-11-08 11:37:09 +01:00 committed by Benjamin Drieu
parent d57264db3e
commit 0d8113e52b

View File

@ -93,7 +93,8 @@ var GenericServer = class {
if ( this.proxy )
{
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;
}
// Soup.Session.prototype.add_feature.call(this._httpSession, new Soup.SimpleProxyResolver());