Skip to content

Commit 32d7c67

Browse files
committed
Quote url
1 parent 952ac35 commit 32d7c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ import(`${parseInt(config.SSL_ENABLED || '', 10) ? 'https' : 'http'}`).then(
107107
' <meta name="viewport" content="width=device-width, initial-scale=1.0">\n' +
108108
' <script>\n' +
109109
' document.addEventListener("DOMContentLoaded", function(event) {\n' +
110-
' const ws = new WebSocket(' + url + ', "echo-protocol");\n' +
110+
' const ws = new WebSocket("' + url + '", "echo-protocol");\n' +
111111
' ws.onmessage = function(event) {\n' +
112112
' document.body.innerHTML += event.data + "<br />";\n' +
113113
' };\n' +

0 commit comments

Comments
 (0)