diff options
author | jbion <joffrey.bion@amadeus.com> | 2016-12-30 02:27:52 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2016-12-30 02:27:52 +0100 |
commit | 758e4c18fc66d68110d7acc495323cd2d2316af6 (patch) | |
tree | 709e47d162d353648302b84af772b570299b8dd9 /src/main/resources/static/test-ws.js | |
parent | Clean serializer using the Gson context (diff) | |
download | seven-wonders-758e4c18fc66d68110d7acc495323cd2d2316af6.tar.gz seven-wonders-758e4c18fc66d68110d7acc495323cd2d2316af6.tar.bz2 seven-wonders-758e4c18fc66d68110d7acc495323cd2d2316af6.zip |
Auto-subscribe to error channel in test page
Diffstat (limited to 'src/main/resources/static/test-ws.js')
-rw-r--r-- | src/main/resources/static/test-ws.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/static/test-ws.js b/src/main/resources/static/test-ws.js index 662cf811..1c64349e 100644 --- a/src/main/resources/static/test-ws.js +++ b/src/main/resources/static/test-ws.js @@ -6,6 +6,7 @@ function connect() { stompClient = Stomp.over(socket); stompClient.connect({}, function (frame) { console.log('Connected: ' + frame); + subscribeTo('/user/queue/errors'); }); } |