websocket_threaded_example: fix websocket url string

Remove extra space character from websocket url string.

The code was broken by beb7fa82 ("fix transmission stall issue with upgraded
TLS connections reported by Nguyen Xuan Viet on the mailinglist").
This commit is contained in:
Evgeniy Gavrilenko
2023-10-19 08:27:07 +03:00
parent 6336d8c796
commit 90fcf2fc22
+1 -1
View File
@@ -39,7 +39,7 @@
"<title>WebSocket chat</title>\n" \
"<script>\n" \
"document.addEventListener('DOMContentLoaded', function() {\n" \
" const ws = new WebSocket('ws:/" "/ ' + window.location.host);\n" \
" const ws = new WebSocket('ws:/" "/' + window.location.host);\n" \
" const btn = document.getElementById('send');\n" \
" const msg = document.getElementById('msg');\n" \
" const log = document.getElementById('log');\n" \