From 0982b6e6eac09a9ad515ca18f25c941d7694ff26 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 24 Aug 2021 08:35:25 +0200 Subject: [PATCH] increase limit before switching to stream mode --- public/script/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script/app.js b/public/script/app.js index 5f2eac9..83359e3 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -859,7 +859,7 @@ angular resetValidity(); const res = await $http.get(`/api/repo/${o.owner}/${o.repo}/`); $scope.details = res.data; - if ($scope.details.size > 1024 * 8) { + if ($scope.details.size > 500 * 1024 * 8) { $scope.options.mode = "GitHubStream"; $scope.anonymize.mode.$$element[0].disabled = true; }