Skip to content

Commit

Permalink
Merge pull request #65 from fourix4/dev
Browse files Browse the repository at this point in the history
fix : websocket config 수정
  • Loading branch information
TaeHoon0 authored Jul 21, 2024
2 parents 20bb8f2 + b8ec428 commit 1a8fda4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class StompWebSocketConfig implements WebSocketMessageBrokerConfigurer {
public void registerStompEndpoints(StompEndpointRegistry registry) {

registry.addEndpoint("/ws")
.setAllowedOrigins("*")
.setAllowedOriginPatterns("*")
.withSockJS();
}

Expand Down

0 comments on commit 1a8fda4

Please sign in to comment.