fixed cors
This commit is contained in:
@@ -12,7 +12,7 @@ import { SocketService } from './socket.service';
|
||||
cors: {
|
||||
origin: '*',
|
||||
},
|
||||
transports: ['websocket'],
|
||||
// transports: ['websocket'],
|
||||
})
|
||||
export class SocketGateway implements OnGatewayConnection {
|
||||
@WebSocketServer()
|
||||
|
||||
Reference in New Issue
Block a user