mod_websocket: Update example HTML
authorFlorian Zeitz <florob@babelmonkeys.de>
Mon, 15 Oct 2012 20:56:15 +0200
changeset 848 14e10bce7463
parent 847 1c9a3454eb43
child 849 6e2ec1825182
mod_websocket: Update example HTML
mod_websocket/websocket.html
--- a/mod_websocket/websocket.html	Sat Oct 13 03:31:26 2012 +0500
+++ b/mod_websocket/websocket.html	Mon Oct 15 20:56:15 2012 +0200
@@ -1,12 +1,10 @@
-
-
 <!DOCTYPE html>
 <html>
 	<head>
 		<title>XMPP Websocket</title>
 		<script type="text/javascript">
 			if ("WebSocket" in window) {
-				var ws = new WebSocket("ws://localhost:5281/xmpp-websocket");
+				var ws = new WebSocket("ws://localhost:5280/xmpp-websocket/", "xmpp");
 				ws.onopen = function() {
 					ws.send("<stream:stream to='localhost' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>");
 				};