fix formatting
This commit is contained in:
parent
070d7714ca
commit
b827ff0025
@ -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