diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html
index 6d9fde8d1..d9f9316af 100644
--- a/files/templates/util/html_head.html
+++ b/files/templates/util/html_head.html
@@ -146,7 +146,7 @@
{% endif %}
- {% if 'chat' in request.path %}
+ {% if request.path == '/chat' %}
{% if IS_LOCALHOST %}
{% else %}