set xhr request header after opening

This commit is contained in:
Sem van der Hoeven
2023-05-29 15:43:08 +02:00
parent bf9dc4de72
commit c76b66e8b2
2 changed files with 5 additions and 5 deletions

View File

@@ -20,8 +20,8 @@ ws.on("message", function message(message) {
last_status = msg.data;
}
console.log("got type: " + msg.type);
console.log("RECEIVED: " + msg.data);
// console.log("got type: " + msg.type);
// console.log("RECEIVED: " + msg.data);
});
ws.on("error", console.error);