diff --git a/src/domain/chat/chat.gateway.ts b/src/domain/chat/chat.gateway.ts index c147411..344af01 100644 --- a/src/domain/chat/chat.gateway.ts +++ b/src/domain/chat/chat.gateway.ts @@ -15,6 +15,7 @@ import { CreateChatDto } from './dto/create-chat.dto'; @UseGuards(JwtServiceAuthGuard) @WebSocketGateway({ + namespace: 'chat', cors: true, }) export class ChatGateway {