STOMP server: required allow-origins
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 24 Apr 2016 18:44:18 +0000 (20:44 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 24 Apr 2016 18:44:18 +0000 (20:44 +0200)
SpringJava/STOMP/spring-stomp-server/src/main/resources/spring-configuration/spring-configuration.xml

index 5917c07..848ddc9 100644 (file)
@@ -25,7 +25,7 @@
     
     <!-- STOMP -->
     <websocket:message-broker application-destination-prefix="/app">
-        <websocket:stomp-endpoint path="/portfolio">
+        <websocket:stomp-endpoint path="/portfolio" allowed-origins="*">
             <websocket:sockjs/>
         </websocket:stomp-endpoint>
         <!--