Skip to content

Commit

Permalink
Refactor(hyunsoo/chat): 프론트 테스트를 위한 cors 설정 변경 #92
Browse files Browse the repository at this point in the history
  • Loading branch information
KimSoo committed Feb 20, 2023
1 parent 8130003 commit cc83b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main-project/src/chats/chats.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { EntityManager } from 'typeorm';
@WebSocketGateway(4000, {
namespace: 'chat',
cors: {
origin: ['http://localhost:3001'],
origin: ['http://localhost:3000', 'http://localhost:3001'],
},
})
export class ChatsGateway {
Expand Down

0 comments on commit cc83b22

Please sign in to comment.