Skip to content

Commit

Permalink
Update socket.io to v1.7.4 slim.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and emedvedev committed Oct 30, 2019
1 parent d1af4a4 commit 5ecd4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

// initialize realtime events asynchronously
var script = document.createElement('script')
script.src = 'https://cdn.socket.io/socket.io-1.4.4.js'
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.4/socket.io.slim.min.js'
script.onload = function () {
// use dom element for better cross browser compatibility
var url = document.createElement('a')
Expand Down
2 changes: 1 addition & 1 deletion views/main.pug
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ html(lang='en', class=`${large ? 'large' : ''}${iframe ? 'iframe' : ''} theme-${
| }

script(src='https://www.google.com/recaptcha/api.js', async, defer)
script(src='https://cdn.socket.io/socket.io-1.4.4.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.4/socket.io.slim.min.js')
script(src=`${path}assets/superagent.js`)
script(src=`${path}assets/client.js`)

0 comments on commit 5ecd4e6

Please sign in to comment.