This commit is contained in:
Aevann1 2022-03-24 05:10:30 +02:00
parent f75022a935
commit 12cacbada8
2 changed files with 2 additions and 2 deletions

View file

@ -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'))