From 048b7bc77e82b424f571b4570f0f4bead9921ccb Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Fri, 8 Apr 2022 04:03:28 +0200 Subject: [PATCH] Only fetch the most recent update from the GitHub releases (#2169) --- src/renderer/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/App.js b/src/renderer/App.js index d3cd78c9..fe4a7da6 100644 --- a/src/renderer/App.js +++ b/src/renderer/App.js @@ -200,7 +200,7 @@ export default Vue.extend({ checkForNewUpdates: function () { if (this.checkForUpdates) { const { version } = require('../../package.json') - const requestUrl = 'https://api.github.com/repos/freetubeapp/freetube/releases' + const requestUrl = 'https://api.github.com/repos/freetubeapp/freetube/releases?per_page=1' $.getJSON(requestUrl, (response) => { const tagName = response[0].tag_name