diff options
author | Martin Ashby <martin@ashbysoft.com> | 2018-07-03 12:40:06 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2018-07-03 12:40:06 +0100 |
commit | 585ac1563dcc89e1fac4526497c16c0bc7b9858e (patch) | |
tree | ae534e7bf006fc8e1ec7caf7ba5c50cd27f1721a | |
parent | 3dc7e2a2e2158c99cb44d1ea3a3a6ff8738255d2 (diff) | |
download | unicornpaint-585ac1563dcc89e1fac4526497c16c0bc7b9858e.tar.gz unicornpaint-585ac1563dcc89e1fac4526497c16c0bc7b9858e.tar.bz2 unicornpaint-585ac1563dcc89e1fac4526497c16c0bc7b9858e.tar.xz unicornpaint-585ac1563dcc89e1fac4526497c16c0bc7b9858e.zip |
checked in dev mode oops
-rw-r--r-- | src/App.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -173,10 +173,10 @@ class App extends Component { _connectWebsocket() { let webSocketProto = window.location.protocol === "https:" ? "wss:" : "ws:" var host = window.location.host - if (true) { - console.log("Dev mode overriding port to 3001") - host = window.location.hostname + ":3001" - } + // if (true) { + // console.log("Dev mode overriding port to 3001") + // host = window.location.hostname + ":3001" + // } this._websocket = new WebSocket(`${webSocketProto}//${host}/ws`) this._websocket.onmessage = this._onMessage this._websocket.onopen = this._onOpen |