Skip to content

Commit 378a3a6

Browse files
committed
improve-live-room-function
1 parent 89cbe99 commit 378a3a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ const io = new Server(httpServer, {
9595
}
9696
});
9797

98-
9998
io.on('connection', (socket) => {
10099
console.log('Socket ID: -----', socket.id);
101100
socket.on('custom-event', (string, redux_store, room) => {
@@ -172,7 +171,6 @@ app.post(
172171
sessionController.startSession,
173172
(req, res) => res.status(200).json({ sessionId: res.locals.ssid })
174173
);
175-
let getusername ='';
176174
//confirming whether user is logged in for index.tsx rendering
177175
app.get('/loggedIn', sessionController.isLoggedIn, (req, res) =>
178176
res.status(200).json(res.locals.loggedIn)

0 commit comments

Comments
 (0)