fix formatting
This commit is contained in:
parent
178ff6168f
commit
f37f7cd142
@ -46,6 +46,7 @@ export function setupClientSync (app, server, schemes) {
|
|||||||
res.status(200).send(getObjectHash(state));
|
res.status(200).send(getObjectHash(state));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (schemes.interrupt) {
|
if (schemes.interrupt) {
|
||||||
const wsServer = new WebSocketServer({ noServer: true, path: "/api/sync/interrupt" });
|
const wsServer = new WebSocketServer({ noServer: true, path: "/api/sync/interrupt" });
|
||||||
wsServer.on("connection", (socket, username) => {
|
wsServer.on("connection", (socket, username) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user