From 0d8113e52b9d6e05fe8ad6a0c7dab045291ac987 Mon Sep 17 00:00:00 2001 From: Benjamin Drieu Date: Wed, 8 Nov 2023 11:37:09 +0100 Subject: [PATCH] Do not use fixed string --- servers/genericserver.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/genericserver.js b/servers/genericserver.js index 69830c9..d135ed3 100644 --- a/servers/genericserver.js +++ b/servers/genericserver.js @@ -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());