From: Shlee Date: Wed, 4 Dec 2019 11:45:49 +0000 (+0800) Subject: [Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2 X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=176f1da267116a792e352f469b87f75c18559af6;p=mastodon.git [Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2 Port f92ed32df4489210ab0ef557f1df90bc5e97d8e6 to glitch-soc Co-authored-by: hina Signed-off-by: Thibaut Girka --- 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));