File tree 1 file changed +2
-2
lines changed
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) {
96
96
return '<!DOCTYPE html><html lang="en"><head><title>Debug Terminal</title>' +
97
97
'<meta http-equiv="Content-Language" content="en-us">' +
98
98
'<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>' +
101
99
'</head><body>' +
100
+ '<script type="application/javascript" src="socket.io.min.js"></script>' +
101
+ '<script type="application/javascript" src="client.js"></script>' +
102
102
'<script language="javascript">' +
103
103
'document.ws = new WebSocket("ws://' + host + ':' + port + '");' +
104
104
'document.ws.onmessage = function (event) { console.log(event.data); };' +
You can’t perform that action at this time.
0 commit comments