Browse Source

more cors

David Thornley 6 years ago
parent
commit
05525a6063

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

21
 
21
 
22
     @Override
22
     @Override
23
     public void registerStompEndpoints(StompEndpointRegistry registry) {
23
     public void registerStompEndpoints(StompEndpointRegistry registry) {
24
-        registry.addEndpoint("/vault-socket").setAllowedOrigins("localhost:8100").withSockJS();
24
+        registry.addEndpoint("/vault-socket").setAllowedOrigins("https://fast-headland-39537.herokuapp.com").withSockJS();
25
     }
25
     }
26
 }
26
 }