socketio: deliver local static copy of scripts
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
746b68eaf1
commit
ae0d4f5aa2
File diff suppressed because one or more lines are too long
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="static/socket.io.slim.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$(document).ready(function() {
|
||||
var socket = io.connect(location.protocol + '//' + document.domain + ':' + location.port)
|
||||
|
|
Loading…
Reference in New Issue