diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 3c6ed11c7..cd8816ffe 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -17,9 +17,6 @@ {% else %} {% endif %} - {% if get_setting('server.limiter') %} - - {% endif %} {% block styles %}{% endblock %} @@ -82,5 +79,8 @@ + {%- if get_setting('server.limiter') -%} + + {%- endif -%} diff --git a/searx/webapp.py b/searx/webapp.py index 2973f53bb..d42ad0800 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -613,10 +613,10 @@ def health(): return Response('OK', mimetype='text/plain') -@app.route('/client.css', methods=['GET', 'POST']) +@app.route('/client.svg', methods=['GET', 'POST']) def client_token(token=None): link_token.ping(request, token) - return Response('', mimetype='text/css') + return Response('', mimetype='image/svg+xml') @app.route('/search', methods=['GET', 'POST'])