ff
This commit is contained in:
parent
f75022a935
commit
12cacbada8
2 changed files with 2 additions and 2 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue