Use better WebSocket constructor in wsexp.html because it's an example.

This commit is contained in:
Penn, John M 047828115 2019-11-06 13:18:29 -06:00
parent 213964afba
commit 23b5b7ac19

View File

@ -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) {