connect to unified socket with subject parameter

This commit is contained in:
dcore94 2023-06-26 19:39:52 +02:00
parent cab09d219f
commit cdbbce3963
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class CCPExecutionHistory extends HTMLElement {
} }
connectBroadcast(){ connectBroadcast(){
this.#socket = new WebSocket(this.#broadcasturl + "/executions"); this.#socket = new WebSocket(`${this.#broadcasturl}/unified?subject=${this.#boot.subject}`);
this.#socket.onmessage = event=>{ this.#socket.onmessage = event=>{
const data = JSON.parse(event.data) const data = JSON.parse(event.data)