remove double instantiation

This commit is contained in:
Martina 2021-01-09 15:10:10 -08:00
parent 1627545a84
commit 09fc78f24e

View File

@ -474,9 +474,9 @@ app.prepare().then(async () => {
server.all("*", async (r, s) => handler(r, s, r.url));
const listenServer = server.listen(Environment.PORT, (e) => {
console.log("listen server function called");
if (e) throw e;
Websocket.create();
NodeLogging.log(`started on http://localhost:${Environment.PORT}`);
});
});