From e280dd0681440d05269d9aa54904d62064f2fa39 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 19 Oct 2018 14:56:02 +0200 Subject: [PATCH] Fix webtorrent disabled by default --- client/src/assets/player/peertube-player-local-storage.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () { -- 2.25.1