summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-24 17:02:27 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-24 17:02:27 -0700
commit7472d9b29bfc1601b73d7101a0589c0e9d313323 (patch)
treeecb5755c7d14746557324918bcf555b07ee22d1d
parentb76b3141535325b97a320206e3b9367cbbb27ec8 (diff)
downloadchat-7472d9b29bfc1601b73d7101a0589c0e9d313323.tar.gz
chat-7472d9b29bfc1601b73d7101a0589c0e9d313323.tar.bz2
chat-7472d9b29bfc1601b73d7101a0589c0e9d313323.zip
Fixes mm-2021 removes hard coded port
-rw-r--r--web/react/stores/socket_store.jsx1
1 files changed, 0 insertions, 1 deletions
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);