Custom browser endpoints should not have a proxy set

fix-prefer-fetch
dgtlmoon 10 months ago
parent d2569ba715
commit 238b909c0b

@ -75,8 +75,8 @@ class difference_detection_processor():
proxy_url = None proxy_url = None
if preferred_proxy_id: if preferred_proxy_id:
# Custom browser endpoints should not have a proxy added # Custom browser endpoints should NOT have a proxy added
if not preferred_proxy_id.startswith('ui-'): if not prefer_fetch_backend.startswith('extra_browser_'):
proxy_url = self.datastore.proxy_list.get(preferred_proxy_id).get('url') proxy_url = self.datastore.proxy_list.get(preferred_proxy_id).get('url')
logger.debug(f"Selected proxy key '{preferred_proxy_id}' as proxy URL '{proxy_url}' for {url}") logger.debug(f"Selected proxy key '{preferred_proxy_id}' as proxy URL '{proxy_url}' for {url}")
else: else:

Loading…
Cancel
Save