svelte architecture separation of global css and layouts and websockets init

This commit is contained in:
simplonco
2022-12-28 18:43:14 +01:00
11 changed files with 1477 additions and 1125 deletions

View File

@@ -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()