aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-19 14:56:02 +0200
committerChocobozzz <me@florianbigard.com>2018-10-19 14:56:26 +0200
commite280dd0681440d05269d9aa54904d62064f2fa39 (patch)
tree53bdfa106be5e241e0eee403f7adbfea5d5ec31b /client/src
parent3aa5001eaaff2a9b0cd8d0dbfa050fdfe3c1c2e2 (diff)
downloadPeerTube-e280dd0681440d05269d9aa54904d62064f2fa39.tar.gz
PeerTube-e280dd0681440d05269d9aa54904d62064f2fa39.tar.zst
PeerTube-e280dd0681440d05269d9aa54904d62064f2fa39.zip
Fix webtorrent disabled by default
Diffstat (limited to 'client/src')
-rw-r--r--client/src/assets/player/peertube-player-local-storage.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-local-storage.ts b/client/src/assets/player/peertube-player-local-storage.ts
index 3ac5fe58a..7e3813570 100644
--- a/client/src/assets/player/peertube-player-local-storage.ts
+++ b/client/src/assets/player/peertube-player-local-storage.ts
@@ -14,7 +14,8 @@ function getStoredWebTorrentEnabled (): boolean {
14 const value = getLocalStorage('webtorrent_enabled') 14 const value = getLocalStorage('webtorrent_enabled')
15 if (value !== null && value !== undefined) return value === 'true' 15 if (value !== null && value !== undefined) return value === 'true'
16 16
17 return false 17 // By default webtorrent is enabled
18 return true
18} 19}
19 20
20function getStoredMute () { 21function getStoredMute () {