Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2018-01-06 20:48:12 +0300
committerFeross Aboukhadijeh <feross@feross.org>2018-01-06 20:48:12 +0300
commit8192fc2e3640db42ae877753d21e0455d8bf6075 (patch)
treea3880ad0afae538f4150376aa2ee3f766099f519 /README.md
parent71ac1b1abe148b5e3993ac056aca6dd71ac5eb44 (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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6927eb0..d0112f0 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ It can be used **without** browser plugins, extensions, or installations. It's J
JavaScript&trade;. 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