aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorMartin Ashby <martin@martin-laptop.lan>2018-05-18 21:09:14 +0100
committerMartin Ashby <martin@martin-laptop.lan>2018-05-18 21:09:14 +0100
commitb3e76b0207bc4232b4b72626f8c4c802dcc63802 (patch)
tree91ae10d4a80b1f458d1711a947ca71651baad5ab /src/App.js
parentc2faad3ac834f622956787c87713ccf6ab9b61e0 (diff)
downloadunicornpaint-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/App.js')
-rw-r--r--src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 2d4f40f..7083ba6 100644
--- a/src/App.js
+++ b/src/App.js
@@ -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