websocket_threaded_example: fixed wrong commented-out code

This commit is contained in:
Evgeny Grin (Karlson2k)
2023-06-01 11:29:44 +03:00
parent 3389c7fbba
commit dd4f6ff9ea
+2 -2
View File
@@ -38,7 +38,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" \
@@ -71,7 +71,7 @@
"<input type='button' id='send' value='Send' /><br /><br />\n" \
"<textarea id='log' rows='20' cols='28'></textarea>\n" \
"</body>\n" \
"</html>" */
"</html>"
#define BAD_REQUEST_PAGE \
"<html>\n" \
"<head>\n" \