summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-11-08 13:44:39 -0500
committerDavid Thompson <davet@gnu.org>2015-11-08 13:44:39 -0500
commit2f2926110cf2f02df4c60f2231bfc9d5b21d8d5c (patch)
tree8c1186c94bb63fee8bd970e3a7000d6aae51e3cd
parent44aef630ea15b44e4008dc15469e57a8aa3711de (diff)
Update test page.
-rw-r--r--test.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.html b/test.html
index c8dc987..23f7524 100644
--- a/test.html
+++ b/test.html
@@ -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");