mirror of
https://github.com/jcreek/EstimationPoker.git
synced 2026-07-12 18:43:47 +00:00
feat(*): Enable wss on prod
This commit is contained in:
@@ -11,7 +11,7 @@ function connectToWebSocket(roomId, onMessageReceived) {
|
||||
if (isDevelopment) {
|
||||
socket = new WebSocket(`ws://localhost:8080`);
|
||||
} else {
|
||||
socket = new WebSocket(`ws://websocket.jcreek.co.uk`);
|
||||
socket = new WebSocket(`wss://websocket.jcreek.co.uk`);
|
||||
}
|
||||
|
||||
socket.addEventListener('open', () => {
|
||||
|
||||
Reference in New Issue
Block a user