diff options
author | Jaeseung Ha <ipknhama@gmail.com> | 2017-09-17 19:15:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 19:15:03 +0900 |
commit | 6df366ce1db89fb0d473ae199c653223fc443bf9 (patch) | |
tree | 62c34a98f5f21ace43331f34e0ef7b4fa885f578 /examples/websocket/templates/ws.html | |
parent | 4786dac0a8e908345e25a4c79da9175201f6b7fc (diff) | |
parent | 4394142d3f0c061b2a1a09b00ca6a7d12da31ddd (diff) | |
download | crow-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.html | 1 |
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') } |