diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2018-01-06 20:48:12 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2018-01-06 20:48:12 +0300 |
commit | 8192fc2e3640db42ae877753d21e0455d8bf6075 (patch) | |
tree | a3880ad0afae538f4150376aa2ee3f766099f519 /README.md | |
parent | 71ac1b1abe148b5e3993ac056aca6dd71ac5eb44 (diff) |
Update jsdelivr URL
JSDelivr has a new URL scheme that we must use if we want the latest JS to actually show up: https://www.jsdelivr.com/new-jsdelivr
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ It can be used **without** browser plugins, extensions, or installations. It's J JavaScript™. Note: WebTorrent does **not** support UDP/TCP peers in browser. Simply include the -[`webtorrent.min.js`](https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js) script +[`webtorrent.min.js`](https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js) script on your page to start fetching files over WebRTC using the BitTorrent protocol, or `require('webtorrent')` with [browserify](http://browserify.org/). See [demo apps ](#webtorrent-in-production) and [code examples](#usage) below. @@ -212,7 +212,7 @@ The WebTorrent script is also hosted on fast, reliable CDN infrastructure (Cloud MaxCDN) for easy inclusion on your site: ```html -<script src="https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js"></script> +<script src="https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js"></script> ``` #### In Node.js |