Check public_instance in simple theme

Fix #2975
This commit is contained in:
sev 2023-10-29 23:01:09 -05:00 committed by MatthieuBarbu
parent 47d5b2f332
commit d9585cebdd

View File

@ -17,7 +17,7 @@
{% else %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/searxng.min.css') }}" type="text/css" media="screen" />
{% endif %}
{% if get_setting('server.limiter') %}
{% if get_setting('server.limiter') or get_setting('server.public_instance') %}
<link rel="stylesheet" href="{{ url_for('client_token', token=link_token) }}" type="text/css" />
{% endif %}
{% block styles %}{% endblock %}