mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-29 03:51:54 +03:00
remove double instantiation
This commit is contained in:
parent
1627545a84
commit
09fc78f24e
@ -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}`);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user