example/html/index.html in websocket-rack-0.1.2 vs example/html/index.html in websocket-rack-0.1.3
- old
+ new
@@ -24,10 +24,10 @@
function init() {
// Connect to Web Socket.
// Change host/port here to your own Web Socket server.
- ws = new WebSocket("ws://localhost:3000");
+ ws = new WebSocket("ws://localhost:3000/websocket");
// Set event handlers.
ws.onopen = function() {
output("onopen");
};