Skip to content

Commit

Permalink
Readme updated to 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
majek committed Jan 18, 2012
1 parent d005c75 commit ee89722
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -78,7 +78,7 @@ but instead of `WebSocket` there is a `SockJS` Javascript object.
First, you need to load SockJS JavaScript library, for example you can First, you need to load SockJS JavaScript library, for example you can
put that in your http head: put that in your http head:


<script src="http://cdn.sockjs.org/sockjs-0.1.min.js"> <script src="http://cdn.sockjs.org/sockjs-0.2.min.js">
</script> </script>


After the script is loaded you can establish a connection with the After the script is loaded you can establish a connection with the
Expand Down Expand Up @@ -209,14 +209,14 @@ In order to utilize best performance you should use the SockJS-client
releases hosted on SockJS CDN. You should use a version of sockjs-client releases hosted on SockJS CDN. You should use a version of sockjs-client
that supports the protocol used by your server. For example: that supports the protocol used by your server. For example:


<script src="http://cdn.sockjs.org/sockjs-0.1.min.js"> <script src="http://cdn.sockjs.org/sockjs-0.2.min.js">
</script> </script>


A list of files hosted on a CDN is available here: http://sockjs.github.com/sockjs-client/ . A list of files hosted on a CDN is available here: http://sockjs.github.com/sockjs-client/ .


You can also use or CDN via https (using Cloud Front domain name): You can also use or CDN via https (using Cloud Front domain name):


<script src="https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.1.js"> <script src="https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.2.js">
</script> </script>


For server-side deployment tricks, especially about load balancing and For server-side deployment tricks, especially about load balancing and
Expand Down Expand Up @@ -283,7 +283,7 @@ server. Edit the [`config.js`](https://github.com/sockjs/sockjs-node/blob/master


And replace `sockjs_url` setting which by default points to CDN: And replace `sockjs_url` setting which by default points to CDN:


sockjs_url: 'http://cdn.sockjs.org/sockjs-0.1.min.js', sockjs_url: 'http://cdn.sockjs.org/sockjs-0.2.min.js',


to a freshly compiled sockjs, for example: to a freshly compiled sockjs, for example:


Expand Down

0 comments on commit ee89722

Please sign in to comment.