about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorShlee <github@shl.ee>2019-12-04 19:45:49 +0800
committerYamagishi Kazutoshi <ykzts@desire.sh>2019-12-04 20:45:49 +0900
commitf92ed32df4489210ab0ef557f1df90bc5e97d8e6 (patch)
treee7c21feebf45c9dcfce4628f73746e2468c94a2d /app/javascript
parentf682387aae0222e4cd77ef92a2b8f9e0e99c2818 (diff)
upgrade/replace websocket.js to @gamestdio/websocket v2 (#12543)
* Update stream.js

* Update package.json

* Update yarn.lock

Co-authored-by: hina <hina@hinaloe.net>
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/stream.js b/app/javascript/mastodon/stream.js
index c4642344f..50f90d44c 100644
--- a/app/javascript/mastodon/stream.js
+++ b/app/javascript/mastodon/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));