Skip to content

Commit

Permalink
update version in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
WillSewell committed Nov 18, 2019
1 parent 432ad3a commit eea52ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,17 +547,17 @@ First, clone this repository and run `npm install && git submodule init && git s

In the `dist/web` folder, you should see the files you need: `pusher.js`, `pusher.min.js`, `json2.js`, `json.min.js`, `sockjs.js` and `sockjs.min.js`. `pusher.js` should be built referencing your URLs as the dependency hosts.

First, make sure you expose all files from the `dist` directory. They need to be in a directory with named after the version number. For example, if you're hosting version 5.0.2 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's:
First, make sure you expose all files from the `dist` directory. They need to be in a directory with named after the version number. For example, if you're hosting version 5.0.3 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's:

http://example.com/pusher-js/5.0.2/pusher.js
http://example.com/pusher-js/5.0.2/json2.js
http://example.com/pusher-js/5.0.2/sockjs.js
http://example.com/pusher-js/5.0.3/pusher.js
http://example.com/pusher-js/5.0.3/json2.js
http://example.com/pusher-js/5.0.3/sockjs.js

Minified files should have `.min` in their names, as in the `dist/web` directory:

http://example.com/pusher-js/5.0.2/pusher.min.js
http://example.com/pusher-js/5.0.2/json2.min.js
http://example.com/pusher-js/5.0.2/sockjs.min.js
http://example.com/pusher-js/5.0.3/pusher.min.js
http://example.com/pusher-js/5.0.3/json2.min.js
http://example.com/pusher-js/5.0.3/sockjs.min.js

## SockJS compatibility

Expand Down

0 comments on commit eea52ef

Please sign in to comment.