Remove remnant from previous version

This commit is contained in:
Marcell Fülöp 2022-06-28 15:55:36 +00:00
parent cdc42e7708
commit 9a69094730

View File

@ -118,11 +118,6 @@ class Search:
mobile = 'Android' in self.user_agent or 'iPhone' in self.user_agent
# reconstruct url if X-Forwarded-Host header present
root_url = get_proxy_host_url(self.request, self.request.url_root)
if http_host:
root_url = f'{scheme}://{http_host}/'
else:
root_url = self.request.url_root
content_filter = Filter(self.session_key,
root_url=root_url,
mobile=mobile,