svelte architecture separation of global css and layouts and websockets init
This commit is contained in:
@@ -8,11 +8,8 @@ import {
|
||||
|
||||
} from '@nestjs/websockets';
|
||||
|
||||
@WebSocketGateway({
|
||||
path: '/api/v2/chat',
|
||||
cors: {
|
||||
origin: '*',
|
||||
},
|
||||
@WebSocketGateway(5000, {
|
||||
path: '/chat',
|
||||
})
|
||||
export class ChatGateway implements OnGatewayConnection {
|
||||
@WebSocketServer()
|
||||
|
||||
Reference in New Issue
Block a user