api gateway websockerurl modified +2
This commit is contained in:
@@ -13,7 +13,8 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
|
||||
@Override
|
||||
public void registerStompEndpoints(StompEndpointRegistry registry) {
|
||||
registry.addEndpoint("/ws/endpoint")
|
||||
.setAllowedOrigins("*")
|
||||
.setAllowedOrigins("http://olympus-api-gateway.olympusai.live")
|
||||
.setAllowedOriginPatterns("*")
|
||||
.withSockJS();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user