Add debug log for spirit message
This commit is contained in:
@@ -271,6 +271,7 @@ ws.addEventListener('message', async (event) => {
|
|||||||
const msg = JSON.parse(event.data);
|
const msg = JSON.parse(event.data);
|
||||||
if (msg.type === 'spirit') {
|
if (msg.type === 'spirit') {
|
||||||
await showSpirit(msg.data);
|
await showSpirit(msg.data);
|
||||||
|
console.log(msg.data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user