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
path: root/docs
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2019-09-05 09:58:31 +0300
committerFeross Aboukhadijeh <feross@feross.org>2019-09-05 09:58:31 +0300
commit7a5abb11569810d0843f8cb4c8c8fcfe59e52f54 (patch)
tree5c254d2f891a9c63d11ef189aac8d3c73cb345bf /docs
parent6fb7f39ab71590f6c909c2a6e83470883769c66b (diff)
Update jsdelivr URLs to use latest WebTorrent
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.md2
-rw-r--r--docs/get-started.md6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/faq.md b/docs/faq.md
index c04e2f1..e32c1a1 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -231,7 +231,7 @@ clients like Transmission, and uTorrent to add support for WebTorrent. **Vuze**
## How do I get started?
To start using WebTorrent, simply include the
-[`webtorrent.min.js`](https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js)
+[`webtorrent.min.js`](https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js)
script on your page. If you use [browserify](http://browserify.org/), you can
`npm install webtorrent` and `require('webtorrent')`.
diff --git a/docs/get-started.md b/docs/get-started.md
index 58529d6..362e8fe 100644
--- a/docs/get-started.md
+++ b/docs/get-started.md
@@ -6,7 +6,7 @@ to get started!
## Install
To start using WebTorrent, simply include the
-[`webtorrent.min.js`](https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js)
+[`webtorrent.min.js`](https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js)
script on your page.
```html
@@ -129,7 +129,7 @@ downloaded.
<div class="log"></div>
<!-- Include the latest version of WebTorrent -->
- <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>
<script>
var client = new WebTorrent()
@@ -282,7 +282,7 @@ or [Instant.io](https://instant.io) to seed torrents to the WebTorrent network.
</div>
</div>
<!-- Include the latest version of WebTorrent -->
- <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>
<!-- Moment is used to show a human-readable remaining time -->
<script src="http://momentjs.com/downloads/moment.min.js"></script>