aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket/templates/ws.html
diff options
context:
space:
mode:
authorAnders Åslund <anders.aslund@me.com>2016-10-15 20:26:12 +0200
committerAnders Åslund <anders.aslund@me.com>2016-10-15 20:26:12 +0200
commit5921ccd0ed20a6be58e358a6fc5c89a7acc099e6 (patch)
tree9d147850788841184aee73da75797688c1a5704f /examples/websocket/templates/ws.html
parent4e39b23e455e455f1878b3e68d729a1737f3e431 (diff)
downloadcrow-5921ccd0ed20a6be58e358a6fc5c89a7acc099e6.tar.gz
crow-5921ccd0ed20a6be58e358a6fc5c89a7acc099e6.zip
Fix linking error on OSX
Fix websocket example
Diffstat (limited to 'examples/websocket/templates/ws.html')
-rw-r--r--examples/websocket/templates/ws.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/websocket/templates/ws.html b/examples/websocket/templates/ws.html
index f6e7281..5320113 100644
--- a/examples/websocket/templates/ws.html
+++ b/examples/websocket/templates/ws.html
@@ -11,7 +11,7 @@
<textarea id="log" cols=100 rows=50>
</textarea>
<script>
-var sock = new WebSocket("ws://i.ipkn.me:40080/ws");
+var sock = new WebSocket("ws://localhost:40080/ws");
sock.onopen = ()=>{
console.log('open')
}