mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
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:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user