Check public_instance in simple theme

Fix #2975
This commit is contained in:
sev 2023-10-29 23:01:09 -05:00 committed by Markus Heiser
parent 7e2e335dd1
commit b05a15540e

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 %}