diff --git a/files/routes/chat.py b/files/routes/chat.py index a716c7b1d..772a31ed5 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -24,7 +24,7 @@ if "load_chat" in sys.argv or SITE == 'localhost': return render_template("chat.html", v=v, messages=messages) - @app.get('/static/chat.js') + @app.get('/chat.js') @limiter.exempt def chatjs(): resp = make_response(send_from_directory('assets', 'js/chat.js')) diff --git a/files/templates/chat.html b/files/templates/chat.html index e9db946e4..cd63ffe6b 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -81,7 +81,7 @@ - +