diff --git a/files/routes/chat.py b/files/routes/chat.py
index ef47e5c91..b74f320c1 100644
--- a/files/routes/chat.py
+++ b/files/routes/chat.py
@@ -23,6 +23,14 @@ if "load_chat" in sys.argv or SITE == 'localhost':
def chat( v):
return render_template("chat.html", v=v, messages=messages)
+
+ @app.get('/static/chat.js')
+ @limiter.exempt
+ def chatjs(path):
+ resp = make_response(send_from_directory('assets', 'js/chat.js'))
+ return resp
+
+
@socketio.on('speak')
@limiter.limit("3/second;10/minute")
@auth_required
diff --git a/files/templates/chat.html b/files/templates/chat.html
index b30c53d1a..0de1cfab6 100644
--- a/files/templates/chat.html
+++ b/files/templates/chat.html
@@ -81,7 +81,7 @@
-
+