diff options
author | Martin Ashby <martin@martin-laptop.lan> | 2018-05-18 21:09:14 +0100 |
---|---|---|
committer | Martin Ashby <martin@martin-laptop.lan> | 2018-05-18 21:09:14 +0100 |
commit | b3e76b0207bc4232b4b72626f8c4c802dcc63802 (patch) | |
tree | 91ae10d4a80b1f458d1711a947ca71651baad5ab /src | |
parent | c2faad3ac834f622956787c87713ccf6ab9b61e0 (diff) | |
download | unicornpaint-b3e76b0207bc4232b4b72626f8c4c802dcc63802.tar.gz unicornpaint-b3e76b0207bc4232b4b72626f8c4c802dcc63802.tar.bz2 unicornpaint-b3e76b0207bc4232b4b72626f8c4c802dcc63802.tar.xz unicornpaint-b3e76b0207bc4232b4b72626f8c4c802dcc63802.zip |
Server ported to go, 50%, just need to do the actual unicorn implementation.
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 |