From 23b5b7ac19866dfc9f2de9a0819ed74c2d022417 Mon Sep 17 00:00:00 2001 From: "Penn, John M 047828115" Date: Wed, 6 Nov 2019 13:18:29 -0600 Subject: [PATCH] Use better WebSocket constructor in wsexp.html because it's an example. --- trick_source/web/apps/wsexp.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/web/apps/wsexp.html b/trick_source/web/apps/wsexp.html index c866a9ef..1bebaeab 100644 --- a/trick_source/web/apps/wsexp.html +++ b/trick_source/web/apps/wsexp.html @@ -57,7 +57,7 @@ } var varTable = document.querySelector('table.variables'); - var ws = new WebSocket("ws://localhost:8888/api/ws/VariableServer", "myProtocol"); + var ws = new WebSocket('ws://localhost:8888/api/ws/VariableServer'); // WebSocket Event Handlers ws.onopen = function(e) {