diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-04 09:36:01 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-04 09:42:20 +0200 |
commit | ad8ffd222cf9edbd9ce474473dfe231c1f6afda7 (patch) | |
tree | 5d1e7ca904596876a234839963a2f4d3944918be /searx/webapp.py | |
parent | 9ab843813229476744b4206a26dedb26b36c1782 (diff) | |
download | searxng-ad8ffd222cf9edbd9ce474473dfe231c1f6afda7.tar.gz searxng-ad8ffd222cf9edbd9ce474473dfe231c1f6afda7.zip |
[mod] option 'ui: cache_url:' to configure internet cache or archive
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 8c2046b5c..369b2d2db 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -464,6 +464,7 @@ def render(template_name: str, **kwargs): kwargs['image_proxify'] = image_proxify kwargs['proxify'] = morty_proxify if settings['result_proxy']['url'] is not None else None kwargs['proxify_results'] = settings['result_proxy']['proxify_results'] + kwargs['cache_url'] = settings['ui']['cache_url'] kwargs['get_result_template'] = get_result_template kwargs['opensearch_url'] = ( url_for('opensearch') |