Skip to content

Commit 27a18f4

Browse files
committed
Correct types
1 parent 8a197c9 commit 27a18f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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); };' +

0 commit comments

Comments
 (0)