aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index 00b0dad1..18f6e813 100644
--- a/index.js
+++ b/index.js
@@ -46,6 +46,7 @@ const authy = new Client({ key: config.authy.key });
const server = require("http").Server(app);
const db = await require("./db")(lna);
const [socket, emit] = require("./sockets")(app, db, server);
+ socket.listen(server);
const passport = require("./passport")(db);
const auth = passport.authenticate("jwt", { session: false });
const seen = [];