diff --git a/src/main/java/com/oven/server/config/WebSocketConfig.java b/src/main/java/com/oven/server/config/WebSocketConfig.java index 64e5f74..943c8eb 100644 --- a/src/main/java/com/oven/server/config/WebSocketConfig.java +++ b/src/main/java/com/oven/server/config/WebSocketConfig.java @@ -27,10 +27,7 @@ public void configureMessageBroker(MessageBrokerRegistry config) { @Override public void registerStompEndpoints(StompEndpointRegistry registry) { registry.addEndpoint("/ws/endpoint") - .addInterceptors() - .setAllowedOriginPatterns("*") - .withSockJS() - .setHeartbeatTime(1000); + .setAllowedOriginPatterns("*"); log.info("[WebSocket Endpoints]: 소켓 열림"); }