diff --git a/src/main/java/com/catchroom/chat/global/config/WebSocketConfig.java b/src/main/java/com/catchroom/chat/global/config/WebSocketConfig.java index 4f7c9a4..f7945bd 100644 --- a/src/main/java/com/catchroom/chat/global/config/WebSocketConfig.java +++ b/src/main/java/com/catchroom/chat/global/config/WebSocketConfig.java @@ -25,7 +25,6 @@ public void configureMessageBroker(MessageBrokerRegistry config) { @Override public void registerStompEndpoints(StompEndpointRegistry registry) { registry.addEndpoint("/ws-stomp") - .setAllowedOrigins("*") .setAllowedOriginPatterns("*") .withSockJS(); }