websockjs remoed +3

This commit is contained in:
sumedh
2024-09-23 15:27:41 +05:30
parent 10e9e2d0fc
commit cd54797967

View File

@@ -13,9 +13,8 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {
registry.addEndpoint("/ws/endpoint")
.setAllowedOrigins("http://olympus-api-gateway.olympusai.live")
.setAllowedOriginPatterns("*")
.withSockJS();
.setAllowedOrigins("*");
//.withSockJS();
}
@Override