1. Łukasz Fidosz
  2. gevent_cometd

Commits

Łukasz Fidosz  committed f89f4cf

default secret is wrong

  • Participants
  • Parent commits a239d13
  • Branches default

Comments (0)

Files changed (3)

File gevent_cometd/static/client.js

View file
         'channels' : [ 'pub_chan', 'pub_chan2' ]
     }
     var post_conf = {
-        url : "/connect?secret=secret_foo",
+        url : "/connect?secret=secret",
         handleAs : 'json',
         postData : dojo.toJson(req, true),
         load : function(data) {
     dojo.create('em', {
         innerHTML : 'user:' + entry.user + ' joined channel: ' + entry.channel
     }, li);
-}
+}

File gevent_cometd/static/demo.html

View file
 	<ul class="messages"></ul>
 	
 	
-<form action="/message?secret=secret_foo" id="msg_form" method="post">
+<form action="/message?secret=secret" id="msg_form" method="post">
 <p>
 Public channel<input type="radio" name="channel" value="pub_chan" checked="checked">
 Alt. Public channel<input type="radio" name="channel" value="pub_chan2">
 </script>
 	
 </body>
-</html>
+</html>

File gevent_cometd/static/multi.html

View file
 <iframe class="iframe" src="/static/iframe_demo.html"></iframe>
 <iframe class="iframe" src="/static/iframe_demo.html"></iframe>
 
-<form action="/message?secret=secret_foo" id="msg_form" method="post">
+<form action="/message?secret=secret" id="msg_form" method="post">
 <p>
 Public channel<input type="radio" name="channel" value="pub_chan" checked="checked">
 Alt. Public channel<input type="radio" name="channel" value="pub_chan2">
 </script>
 
 </body>
-</html>
+</html>