summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-04-19 17:20:03 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2023-05-29 14:54:56 +0200
commitdba569462d0e9c4dbd77a54bb42ef5c3b1916142 (patch)
tree0f536daed5addae98560806e760e9db08d22e49e /searx/templates
parentc1b5ff7e1c28b9a412cac391ce17194d55cc8ee7 (diff)
downloadsearxng-dba569462d0e9c4dbd77a54bb42ef5c3b1916142.tar.gz
searxng-dba569462d0e9c4dbd77a54bb42ef5c3b1916142.zip
[mod] limiter: reduce request rates for requests without a ping
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/base.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index a31ff07ee..dfe4ea265 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -17,6 +17,9 @@
{% else %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/searxng.min.css') }}" type="text/css" media="screen" />
{% endif %}
+ {% if get_setting('server.limiter') %}
+ <link rel="stylesheet" href="/limiter.css" type="text/css" media="screen" />
+ {% endif %}
{% block styles %}{% endblock %}
<!--[if gte IE 9]>-->
<script src="{{ url_for('static', filename='js/searxng.head.min.js') }}" client_settings="{{ client_settings }}"></script>