Fix websocket logger

This commit is contained in:
smartfrigde 2022-04-19 16:02:30 +02:00
parent 3d0fd7071b
commit eda6621989

View file

@ -23,7 +23,7 @@ import type {Server, WebSocket} from "ws";
import {inviteWindow, createInviteWindow} from "./window";
async function wsLog(message: string, ...args: unknown[]) {
console.log("WebSocket" + +message, ...args);
console.log("[WebSocket]" + message, ...args);
}
/** Generates an inclusive range (as `Array`) from `start` to `end`. */