fix formatting

This commit is contained in:
Arthur Lu 2023-07-12 06:38:06 +00:00
parent 178ff6168f
commit f37f7cd142

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) => {