We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5ee2e commit a3e02a2Copy full SHA for a3e02a2
apps/signalling-service/server.js
@@ -14,6 +14,7 @@ const pingTimeout = 30000;
14
const port = process.env.PORT || 4444;
15
const wss = new WebSocketServer({ noServer: true });
16
17
+// Initialise the signalling server for collaboration editor
18
const server = http.createServer((request, response) => {
19
response.writeHead(200, {
20
"Content-Type": "text/plain",
@@ -107,6 +108,7 @@ const onconnection = (conn) => {
107
108
break;
109
case "ping":
110
send(conn, { type: "pong" });
111
+ break;
112
}
113
114
});
0 commit comments