From cdbbce396330751d0ef8fd4cbee8c14de78322d1 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Mon, 26 Jun 2023 19:39:52 +0200 Subject: [PATCH] connect to unified socket with subject parameter --- ccp/js/executionhistorycontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index c1d3e10..5411b91 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -273,7 +273,7 @@ class CCPExecutionHistory extends HTMLElement { } connectBroadcast(){ - this.#socket = new WebSocket(this.#broadcasturl + "/executions"); + this.#socket = new WebSocket(`${this.#broadcasturl}/unified?subject=${this.#boot.subject}`); this.#socket.onmessage = event=>{ const data = JSON.parse(event.data)