From: Chocobozzz Date: Fri, 19 Oct 2018 12:56:02 +0000 (+0200) Subject: Fix webtorrent disabled by default X-Git-Tag: v1.1.0-alpha.2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e280dd0681440d05269d9aa54904d62064f2fa39;p=oweals%2Fpeertube.git Fix webtorrent disabled by default --- 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 { const value = getLocalStorage('webtorrent_enabled') if (value !== null && value !== undefined) return value === 'true' - return false + // By default webtorrent is enabled + return true } function getStoredMute () {