diff --git a/server/datahandler.js b/server/datahandler.js index 05d332b..c1b55bc 100644 --- a/server/datahandler.js +++ b/server/datahandler.js @@ -193,8 +193,7 @@ function handleData(wss, receivedData, rdsWss) { data += (((errors & 0x03) == 0) ? modifiedData.slice(12, 16) : '----'); const newDataString = "G:\r\n" + data + "\r\n\r\n"; - const finalBuffer = Buffer.from(newDataString, 'utf-8'); - client.send(finalBuffer); + client.send(newDataString); }); rdsdec.decodeGroup(parseInt(modifiedData.slice(0, 4), 16), parseInt(modifiedData.slice(4, 8), 16), parseInt(modifiedData.slice(8, 12), 16), parseInt(modifiedData.slice(12, 16), 16)); diff --git a/web/403.ejs b/web/403.ejs index c965475..e07acad 100644 --- a/web/403.ejs +++ b/web/403.ejs @@ -13,14 +13,14 @@
There's a possibility you were kicked by the system.
Please try again later.