Skip to content

Commit

Permalink
HOTFIX: SockJs 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Jan 16, 2025
1 parent 243d0ee commit e13c0c3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
registry
.setErrorHandler(stompExceptionHandler)
.addEndpoint("/ws")
.setAllowedOriginPatterns("http://localhost:3000");
.setAllowedOriginPatterns("http://localhost:3000")
.withSockJS();
}

@Override
Expand Down

0 comments on commit e13c0c3

Please sign in to comment.