diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/get-started.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/get-started.md b/docs/get-started.md index 8a069c6..be30c44 100644 --- a/docs/get-started.md +++ b/docs/get-started.md @@ -109,7 +109,7 @@ client.add(magnetURI, { path: '/path/to/folder' }, function (torrent) { **Note:** Seeding a torrent that can be downloaded by browser peers (i.e. with support for WebRTC) requires [webtorrent-hybrid](https://github.com/webtorrent/webtorrent-hybrid). ```js -const WebTorrent = require('webtorrent-hybrid') +import WebTorrent from 'webtorrent-hybrid' const client = new WebTorrent() client.seed('/seed-me.txt', function (torrent) { |