File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ internals.template = function (host, port) {
9696 return '<!DOCTYPE html><html lang="en"><head><title>Debug Terminal</title>' +
9797 '<meta http-equiv="Content-Language" content="en-us">' +
9898 '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">' +
99- '<script type="application/json" src="/socket.io.min.js"></script>' +
100- '<script type="application/json" src="/client.js"></script>' +
10199 '</head><body>' +
100+ '<script type="application/javascript" src="socket.io.min.js"></script>' +
101+ '<script type="application/javascript" src="client.js"></script>' +
102102 '<script language="javascript">' +
103103 'document.ws = new WebSocket("ws://' + host + ':' + port + '");' +
104104 'document.ws.onmessage = function (event) { console.log(event.data); };' +
You can’t perform that action at this time.
0 commit comments