From 7472d9b29bfc1601b73d7101a0589c0e9d313323 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 24 Aug 2015 17:02:27 -0700 Subject: Fixes mm-2021 removes hard coded port --- web/react/stores/socket_store.jsx | 1 - 1 file changed, 1 deletion(-) (limited to 'web/react') diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx index c3c331828..d0fc30202 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -28,7 +28,6 @@ var SocketStore = assign({}, EventEmitter.prototype, { var port = ''; if (window.location.protocol === 'https:') { protocol = 'wss://'; - port = ':8443'; } var connUrl = protocol + location.host + port + '/api/v1/websocket'; console.log('connecting to ' + connUrl); -- cgit v1.2.3-1-g7c22 From ec1fbeb1a5bf27c2411428cd33bd16dfe73b50a3 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 24 Aug 2015 17:04:54 -0700 Subject: Fixes mm-2021 removes hard coded port --- web/react/stores/socket_store.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/react') diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx index d0fc30202..e43a8f2be 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -25,11 +25,10 @@ var SocketStore = assign({}, EventEmitter.prototype, { if (window.WebSocket && !conn) { var protocol = 'ws://'; - var port = ''; if (window.location.protocol === 'https:') { protocol = 'wss://'; } - var connUrl = protocol + location.host + port + '/api/v1/websocket'; + var connUrl = protocol + location.host + '/api/v1/websocket'; console.log('connecting to ' + connUrl); conn = new WebSocket(connUrl); -- cgit v1.2.3-1-g7c22