forked from MarseyWorld/MarseyWorld
master
parent
780e31f1bb
commit
cbbeaf209c
|
@ -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'))
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
<input id="vid" type="hidden" value="{{v.id}}">
|
||||
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
||||
|
||||
<script data-cfasync="false" src="/static/chat.js?v=1"></script>
|
||||
<script data-cfasync="false" src="/chat.js?v=2"></script>
|
||||
|
||||
<style>
|
||||
#chat-window {
|
||||
|
|
Loading…
Reference in New Issue