File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,6 @@ export const bindSocketServer = (server: http.Server): void => {
189
189
const namespace = io . of ( '/' ) ;
190
190
191
191
namespace . on ( CONNECT , ( socket : Socket ) => {
192
- console . log ( '메인 채널 연결됨 socketID : ' , socket . id ) ;
193
- // io.to(socket.id).emit(MESSAGE, { socketId: socket.id });
194
-
195
192
socket . on ( MESSAGE , async ( data : SocketEvent ) => {
196
193
if ( isThreadEvent ( data ) ) {
197
194
const { type, subType, room, thread } = data ;
@@ -381,14 +378,10 @@ export const bindSocketServer = (server: http.Server): void => {
381
378
} ) ;
382
379
383
380
socket . on ( ENTER_ROOM , ( data : RoomEvent ) => {
384
- console . log ( 'enter' ) ;
385
- console . dir ( data , { depth : null } ) ;
386
381
socket . join ( data . room ) ;
387
382
} ) ;
388
383
389
384
socket . on ( LEAVE_ROOM , ( data : RoomEvent ) => {
390
- console . log ( 'leave' ) ;
391
- console . dir ( data , { depth : null } ) ;
392
385
socket . leave ( data . room ) ;
393
386
} ) ;
394
387
You can’t perform that action at this time.
0 commit comments