@@ -21,6 +21,6 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {
- registry.addEndpoint("/vault-socket").withSockJS();
+ registry.addEndpoint("/vault-socket").setAllowedOrigins("*").withSockJS();
}