Mercurial > code > home > repos > light9
diff web/collector/Light9CollectorUi.ts @ 2384:ffa2f340ffdf
revive effectSequencer
author | drewp@bigasterisk.com |
---|---|
date | Mon, 13 May 2024 17:21:31 -0700 |
parents | 4556eebe5d73 |
children | ef3cde3e81e8 |
line wrap: on
line diff
--- a/web/collector/Light9CollectorUi.ts Mon May 13 15:47:41 2024 -0700 +++ b/web/collector/Light9CollectorUi.ts Mon May 13 17:21:31 2024 -0700 @@ -34,7 +34,7 @@ this.graph.runHandler(this.findDevices.bind(this), "findDevices"); }); - const ws = new ReconnectingWebSocket(location.href.replace("http", "ws") + "../service/collector/updates"); + const ws = new ReconnectingWebSocket("ws://localhost:8200/service/collector/updates"); ws.addEventListener("message", (ev: any) => { const outputAttrsSet = JSON.parse(ev.data).outputAttrsSet; if (outputAttrsSet) {