Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
daneryl committed Nov 12, 2020
2 parents a7d6e4e + 11d8c49 commit 45e9252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/react/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { isClient } from 'app/utils';

let socket = { on: () => {} };
if (isClient) {
socket = io();
//only websockets used, this allows for non sticky sessions on load balancer
socket = io({ transports: ['websocket'], upgrade: false });
}

export default socket;
Expand Down

0 comments on commit 45e9252

Please sign in to comment.