Skip to content

Commit

Permalink
transport websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriolino committed Feb 15, 2019
1 parent 54f9d4b commit 385b06c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ var App = {

create: function() {
this.ws = io(':2020', {
path: '/socket.io',
transports: ['websocket'],
secure: true,
timeout: App.Websocket.timeout,
reconnection: true,
reconnectionDelay: 1000,
Expand Down

0 comments on commit 385b06c

Please sign in to comment.