Skip to content

Commit

Permalink
Update WebSocketConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnsugyeong authored May 15, 2024
1 parent 5a0f861 commit 3360557
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {
registry.addEndpoint("/ws/chat")
.setAllowedOriginPatterns("*")
.withSockJS();
.setAllowedOriginPatterns("*");
//.withSockJS();
}

@Override
Expand Down

0 comments on commit 3360557

Please sign in to comment.