mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 00:09:18 +02:00
[mod] option 'ui: cache_url:' to configure internet cache or archive
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
9ab8438132
commit
ad8ffd222c
5 changed files with 15 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue