diff --git a/assets/js/mine-seeker/app.js b/assets/js/mine-seeker/app.js index 03a951a..40b8ecd 100644 --- a/assets/js/mine-seeker/app.js +++ b/assets/js/mine-seeker/app.js @@ -331,10 +331,7 @@ class MineSeeker extends React.Component { connectWithWebsocket() { /** Create Websocket w/ Bahnhof.js */ let websocket = WS.connect( - // this.state.env === 'dev' - // ? "ws://localhost:6450" - (this.state.ssl === 'true' ? "wss" : "ws") + "://" + window.location.hostname + ":6450/" - // : (this.state.ssl === 'true' ? "wss" : "ws") + "://mineseeker.splendidbear.org:6450" + (this.state.ssl === 'true' ? "wss" : "ws") + "://" + window.location.hostname + "/ws/" ); /**