diff --git a/.gitignore b/.gitignore
index aa188a399..560f817d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,12 @@ flask_session/
site_settings.json
/files/test.py
tags
+
+# Chat environment
chat/node_modules
chat/build
-chat/.env
\ No newline at end of file
+chat/.env
+
+# Chat artefacts
+files/assets/css/chat_done.css
+files/assets/js/chat_done.js
diff --git a/files/routes/chat.py b/files/routes/chat.py
index 0df99dc40..b1bab2a4c 100644
--- a/files/routes/chat.py
+++ b/files/routes/chat.py
@@ -39,18 +39,6 @@ def chat(v):
return render_template("chat.html", v=v, messages=messages)
-@app.get('/chat.js')
-def chatjs():
- resp = make_response(send_from_directory('assets', 'js/chat.js'))
- return resp
-
-
-@app.get('/chat_done.js')
-def chatbuiltjs():
- resp = make_response(send_from_directory('assets', 'js/chat_done.js'))
- return resp
-
-
@socketio.on('speak')
@limiter.limit("3/second;10/minute")
@limiter.limit("3/second;10/minute", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
@@ -161,4 +149,4 @@ def close_running_threads():
cache.set(f'{SITE}_chat', messages)
cache.set(f'{SITE}_total', total)
cache.set(f'{SITE}_muted', muted)
-atexit.register(close_running_threads)
\ No newline at end of file
+atexit.register(close_running_threads)
diff --git a/files/templates/chat.html b/files/templates/chat.html
index e796e5276..0b7bd9522 100644
--- a/files/templates/chat.html
+++ b/files/templates/chat.html
@@ -36,7 +36,7 @@
data-themecolor="{{v.themecolor}}">
-
-
+
+