From 9a6909473013e43f7c8724774c98a38091d8d831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcell=20F=C3=BCl=C3=B6p?= Date: Tue, 28 Jun 2022 15:55:36 +0000 Subject: [PATCH] Remove remnant from previous version --- app/utils/search.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/utils/search.py b/app/utils/search.py index 0e22cf3..88828c7 100644 --- a/app/utils/search.py +++ b/app/utils/search.py @@ -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,