fix formatting

This commit is contained in:
Arthur Lu 2023-07-12 06:38:06 +00:00
parent 070d7714ca
commit b827ff0025

View File

@ -46,6 +46,7 @@ export function setupClientSync (app, server, schemes) {
res.status(200).send(getObjectHash(state));
});
}
if (schemes.interrupt) {
const wsServer = new WebSocketServer({ noServer: true, path: "/api/sync/interrupt" });
wsServer.on("connection", (socket, username) => {