diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/App.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ class App extends Component { _connectWebsocket() { let webSocketProto = window.location.protocol === "https:" ? "wss:" : "ws:" let host = window.location.host - // let host = "shinypi:3001" + // let host = window.location.hostname + ":3001" this._websocket = new WebSocket(`${webSocketProto}//${host}/ws`) this._websocket.onmessage = this._onMessage this._websocket.onopen = this._onOpen |