Skip to content

Commit

Permalink
修改socket 端口
Browse files Browse the repository at this point in the history
  • Loading branch information
pakizheng committed Jan 11, 2024
1 parent eaa0f91 commit 21775b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateways/chat/chat.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { ErrorCode, errorMessage } from 'src/const/error-code';
import { ChatGatewayService } from './chat.service';

// @UseInterceptors(TransformSocketResponseInterceptor)
@WebSocketGateway({ cors: { origin: '*' } })
@WebSocketGateway({ cors: { origin: '*' }, port: '3000' })
export class ChatGateway
implements OnGatewayInit, OnGatewayConnection, OnGatewayDisconnect
{
Expand Down

0 comments on commit 21775b5

Please sign in to comment.