fix: send string

This commit is contained in:
wancat committed 2023-08-08 20:36:49 +08:00
1 parent fb826c2f0e
commit 06ee53f194
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ export default (server) => {
const stream = await attachContainer(container, { token })
stream.on('data', (chunk) => {
socket.send(chunk)
socket.send(chunk.toString())
})
socket.on('message', function incoming(message) {