Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jsdelivr URL #1257

Merged
merged 1 commit into from Jan 8, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

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
  • Loading branch information
feross committed Jan 6, 2018
commit 8192fc2e3640db42ae877753d21e0455d8bf6075
@@ -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
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.