diff options
author | Shlee <github@shl.ee> | 2019-12-04 19:45:49 +0800 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-12-07 12:54:27 +0100 |
commit | 176f1da267116a792e352f469b87f75c18559af6 (patch) | |
tree | e0b061601c869e80393a70bbe76c0f752d9688b6 /app/javascript/flavours | |
parent | abcba5c19885f789557fe1fa62dba7f176d9afe6 (diff) |
[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2
Port f92ed32df4489210ab0ef557f1df90bc5e97d8e6 to glitch-soc Co-authored-by: hina <hina@hinaloe.net> Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/util/stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/util/stream.js b/app/javascript/flavours/glitch/util/stream.js index c4642344f..50f90d44c 100644 --- a/app/javascript/flavours/glitch/util/stream.js +++ b/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)); |