From 2f2926110cf2f02df4c60f2231bfc9d5b21d8d5c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 8 Nov 2015 13:44:39 -0500 Subject: Update test page. --- test.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test.html') 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"); -- cgit v1.2.3