summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rewrite.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-04-13 00:40:44 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-04-13 00:40:44 +0200
commit33516256fd60d5bf6dcdf38c8a31f4038ecf0524 (patch)
tree8d70a50d6c7aa7815de70cb43209101d1e26016b /searx/plugins/https_rewrite.py
parentd2a636f75d24953f5094ea97ab54a8a4353a65ff (diff)
downloadsearxng-33516256fd60d5bf6dcdf38c8a31f4038ecf0524.tar.gz
searxng-33516256fd60d5bf6dcdf38c8a31f4038ecf0524.zip
[fix] load https rules
Diffstat (limited to 'searx/plugins/https_rewrite.py')
-rw-r--r--searx/plugins/https_rewrite.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/plugins/https_rewrite.py b/searx/plugins/https_rewrite.py
index 409b122e6..a24f15a28 100644
--- a/searx/plugins/https_rewrite.py
+++ b/searx/plugins/https_rewrite.py
@@ -225,3 +225,6 @@ def on_result(request, ctx):
if result['parsed_url'].scheme == 'http':
https_url_rewrite(result)
return True
+
+
+load_https_rules(rules_path)