diff --git a/components/app.js b/components/app.js index a122a34..f8854ff 100644 --- a/components/app.js +++ b/components/app.js @@ -377,7 +377,7 @@ export default class App extends Component { if (window.location.protocol != "https:") { proto = "ws:"; } - connectParams.serverURL = proto + "//" + host + "/socket"; + serverURL = proto + "//" + host + "/socket"; } var autojoin = [];