- sockjs config updated;
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user