mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
Merge pull request #8 from lancatlin/hot-fix-server-socket
fix: send string
This commit is contained in:
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user