mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:57:08 +00:00
Broadcast an already parsed JSON payload
This commit is contained in:
@@ -51,9 +51,6 @@ new Vue({
|
||||
|
||||
this.ws.addEventListener("message", (ev) => {
|
||||
const msg = JSON.parse(ev.data);
|
||||
if (msg.payload) {
|
||||
msg.payload = JSON.parse(msg.payload);
|
||||
}
|
||||
this.setServerEvent(msg);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user