Merge branch 'production'

This commit is contained in:
HF 2022-01-12 01:52:26 +01:00
commit aa731bdc89

View File

@ -63,8 +63,9 @@ class APISocketServer {
ws.subPxl = false;
ws.on('pong', heartbeat);
ws.on('message', (message) => {
if (typeof message === 'string') {
ws.on('message', (data, isBinary) => {
if (!isBinary) {
const message = data.toString();
this.onTextMessage(message, ws);
}
});