From d392da64ab48a6c930d7f523dd9f844b0db2bd0b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 19 Feb 2017 15:32:10 +0900 Subject: :tada: --- src/web/app/common/scripts/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/app/common/scripts/stream.js') diff --git a/src/web/app/common/scripts/stream.js b/src/web/app/common/scripts/stream.js index 5c8c3e1073..34ddc8447d 100644 --- a/src/web/app/common/scripts/stream.js +++ b/src/web/app/common/scripts/stream.js @@ -5,7 +5,7 @@ module.exports = me => { let state = 'initializing'; const stateEv = riot.observable(); const event = riot.observable(); - const host = CONFIG.api.url.replace('http', 'ws'); + const host = CONFIG.apiUrl.replace('http', 'ws'); const socket = new ReconnectingWebSocket(`${host}?i=${me.token}`); socket.onopen = () => { -- cgit v1.3.1-freya