aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch/webtorrent.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/video-watch/webtorrent.service.ts')
-rw-r--r--client/src/app/videos/video-watch/webtorrent.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/video-watch/webtorrent.service.ts b/client/src/app/videos/video-watch/webtorrent.service.ts
index 1839c7c27..0192167ee 100644
--- a/client/src/app/videos/video-watch/webtorrent.service.ts
+++ b/client/src/app/videos/video-watch/webtorrent.service.ts
@@ -15,8 +15,8 @@ export class WebTorrentService {
15 constructor() { 15 constructor() {
16 this.client = new WebTorrent({ dht: false }); 16 this.client = new WebTorrent({ dht: false });
17 17
18 this.client.on('error', (err) => this.errors.next(err)) 18 this.client.on('error', (err) => this.errors.next(err));
19 this.client.on('warning', (err) => this.warnings.next(err)) 19 this.client.on('warning', (err) => this.warnings.next(err));
20 } 20 }
21 21
22 add(magnetUri: string, callback: Function) { 22 add(magnetUri: string, callback: Function) {