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