diff --git a/api/src/main/java/com/ford/labs/retroquest/websocket/WebSocketConfig.java b/api/src/main/java/com/ford/labs/retroquest/websocket/WebSocketConfig.java index 607186390..116cec16c 100644 --- a/api/src/main/java/com/ford/labs/retroquest/websocket/WebSocketConfig.java +++ b/api/src/main/java/com/ford/labs/retroquest/websocket/WebSocketConfig.java @@ -55,7 +55,7 @@ public void configureMessageBroker(MessageBrokerRegistry config) { public void registerStompEndpoints(StompEndpointRegistry registry) { registry .addEndpoint("/websocket") - .setAllowedOrigins("*") + .setAllowedOriginPatterns("*") .withSockJS(); }