aboutsummaryrefslogtreecommitdiff
path: root/src/examples/websocket_threaded_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/websocket_threaded_example.c')
-rw-r--r--src/examples/websocket_threaded_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/websocket_threaded_example.c b/src/examples/websocket_threaded_example.c
index e73b1414..af036d24 100644
--- a/src/examples/websocket_threaded_example.c
+++ b/src/examples/websocket_threaded_example.c
@@ -38,7 +38,7 @@
38 "<title>WebSocket chat</title>\n" \ 38 "<title>WebSocket chat</title>\n" \
39 "<script>\n" \ 39 "<script>\n" \
40 "document.addEventListener('DOMContentLoaded', function() {\n" \ 40 "document.addEventListener('DOMContentLoaded', function() {\n" \
41 " const ws = new WebSocket('ws:/" "/ ' + window.location.host);\n" /* \ 41 " const ws = new WebSocket('ws:/" "/ ' + window.location.host);\n" \
42 " const btn = document.getElementById('send');\n" \ 42 " const btn = document.getElementById('send');\n" \
43 " const msg = document.getElementById('msg');\n" \ 43 " const msg = document.getElementById('msg');\n" \
44 " const log = document.getElementById('log');\n" \ 44 " const log = document.getElementById('log');\n" \
@@ -71,7 +71,7 @@
71 "<input type='button' id='send' value='Send' /><br /><br />\n" \ 71 "<input type='button' id='send' value='Send' /><br /><br />\n" \
72 "<textarea id='log' rows='20' cols='28'></textarea>\n" \ 72 "<textarea id='log' rows='20' cols='28'></textarea>\n" \
73 "</body>\n" \ 73 "</body>\n" \
74 "</html>" */ 74 "</html>"
75#define BAD_REQUEST_PAGE \ 75#define BAD_REQUEST_PAGE \
76 "<html>\n" \ 76 "<html>\n" \
77 "<head>\n" \ 77 "<head>\n" \