David Thornley 6 years ago
parent
commit
f7ef87e92e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/java/com/ziplinegreen/vault/Config/WebSocketConfig.java

+ 1
- 1
src/main/java/com/ziplinegreen/vault/Config/WebSocketConfig.java View File

@@ -21,6 +21,6 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
21 21
 
22 22
     @Override
23 23
     public void registerStompEndpoints(StompEndpointRegistry registry) {
24
-        registry.addEndpoint("/vault-socket").setAllowedOrigins("localhost:8100").withSockJS();
24
+        registry.addEndpoint("/vault-socket").setAllowedOrigins("*").withSockJS();
25 25
     }
26 26
 }