diff --git a/src/components/NotificationsSidebar/index.js b/src/components/NotificationsSidebar/index.js index 91555de..8d5e7b3 100644 --- a/src/components/NotificationsSidebar/index.js +++ b/src/components/NotificationsSidebar/index.js @@ -203,7 +203,14 @@ const NotificationsSidebar = () => { } const connectWebSocket = () => { - socket.current = new SockJS(socketUrl); + socket.current = new SockJS(socketUrl, null, { + transports: [ + 'websocket', + 'xhr-streaming', + 'xhr-polling' + ] + } + ); stomp.current = Stomp.over(socket.current); stomp.current.configure({