mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
privoxy: Fix issue with privoxy diagnotic tests
The URL is always https:// so we only need https proxy and nothing else.
This commit is contained in:
parent
4986d26b5d
commit
288a9e7bf9
@ -102,9 +102,6 @@ def diagnose_url_with_proxy():
|
||||
address['address'] = '[{0}]'.format(address['address'])
|
||||
|
||||
proxy = 'http://{host}:8118/'.format(host=address['address'])
|
||||
if address['kind'] == '4':
|
||||
env = {'http_proxy': proxy}
|
||||
else:
|
||||
env = {'https_proxy': proxy}
|
||||
|
||||
result = action_utils.diagnose_url(url, kind=address['kind'], env=env)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user