diff options
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 8158256e6..f7e7e1d5c 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -614,6 +614,14 @@ def client_token(token=None): return Response('', mimetype='text/css') +@app.route('/rss.xsl', methods=['GET', 'POST']) +def rss_xsl(): + return render_template( + f"{request.preferences.get_value('theme')}/rss.xsl", + url_for=custom_url_for, + ) + + @app.route('/search', methods=['GET', 'POST']) def search(): """Search query in q and return results. |