aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket/templates/ws.html
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2017-09-17 19:15:03 +0900
committerGitHub <noreply@github.com>2017-09-17 19:15:03 +0900
commit6df366ce1db89fb0d473ae199c653223fc443bf9 (patch)
tree62c34a98f5f21ace43331f34e0ef7b4fa885f578 /examples/websocket/templates/ws.html
parent4786dac0a8e908345e25a4c79da9175201f6b7fc (diff)
parent4394142d3f0c061b2a1a09b00ca6a7d12da31ddd (diff)
downloadcrow-6df366ce1db89fb0d473ae199c653223fc443bf9.tar.gz
crow-6df366ce1db89fb0d473ae199c653223fc443bf9.zip
Merge pull request #177 from tekn0ir/fix_libssl_example
Fix linking error on OSX & fix websocket example
Diffstat (limited to 'examples/websocket/templates/ws.html')
-rw-r--r--examples/websocket/templates/ws.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/websocket/templates/ws.html b/examples/websocket/templates/ws.html
index 5200b8b..2d38fdf 100644
--- a/examples/websocket/templates/ws.html
+++ b/examples/websocket/templates/ws.html
@@ -12,6 +12,7 @@
</textarea>
<script>
var sock = new WebSocket("ws://{{servername}}:40080/ws");
+
sock.onopen = ()=>{
console.log('open')
}