diff --git a/backend/src/main/java/com/woowacourse/friendogly/config/WebSocketConfig.java b/backend/src/main/java/com/woowacourse/friendogly/config/WebSocketConfig.java index 437a0cdda..90cde8094 100644 --- a/backend/src/main/java/com/woowacourse/friendogly/config/WebSocketConfig.java +++ b/backend/src/main/java/com/woowacourse/friendogly/config/WebSocketConfig.java @@ -21,7 +21,8 @@ public void configureMessageBroker(MessageBrokerRegistry registry) { @Override public void registerStompEndpoints(StompEndpointRegistry registry) { - registry.addEndpoint("/connect"); + registry.addEndpoint("/connect") + .setAllowedOrigins("*"); } @Override