[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2

Port f92ed32df4 to glitch-soc

Co-authored-by: hina <hina@hinaloe.net>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
Shlee 5 years ago committed by Thibaut Girka
parent abcba5c198
commit 176f1da267
  1. 2
      app/javascript/flavours/glitch/util/stream.js

@ -1,4 +1,4 @@
import WebSocketClient from 'websocket.js';
import WebSocketClient from '@gamestdio/websocket';
const randomIntUpTo = max => Math.floor(Math.random() * Math.floor(max));

Loading…
Cancel
Save