--- 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'>");
};