diff --git a/utils/image.js b/utils/image.js index 63d71d9..0b3a78e 100644 --- a/utils/image.js +++ b/utils/image.js @@ -67,7 +67,7 @@ exports.getRunning = async () => { } }; -exports.connect = (server) => { +exports.connect = async (server) => { const connection = new WebSocket(`ws://${server}:8080/sock`); connection.on("message", async (msg) => { const opcode = msg.readUint8(0);