diff options
author | David Thompson <davet@gnu.org> | 2015-11-08 13:44:39 -0500 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-11-08 13:44:39 -0500 |
commit | 2f2926110cf2f02df4c60f2231bfc9d5b21d8d5c (patch) | |
tree | 8c1186c94bb63fee8bd970e3a7000d6aae51e3cd | |
parent | 44aef630ea15b44e4008dc15469e57a8aa3711de (diff) |
Update test page.
-rw-r--r-- | test.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ var ws = new WebSocket("ws://localhost:9090"); console.log("initialized websocket"); ws.onmessage = function(evt) { - console.log("received message:"); - console.log(evt); + console.log("received message"); + console.log(evt.data); }; ws.onopen = function() { console.log("connected"); |