From d330ae6fe517d815207a920e9142283060181929 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Wed, 20 Dec 2023 16:44:51 -0600 Subject: [PATCH] Add Mart to counter --- docs/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index b5e86b4..8161b7b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -356,6 +356,8 @@

), fetch("https://api.github.com/repos/SkyblockClient/Skyclient-installer-Java/releases").then( (r) => r.json(), + fetch("https://api.github.com/repos/KTibow/Mart/releases").then( + (r) => r.json(), ), ]).then(async (responses) => { const getCount = (json) => { @@ -363,7 +365,7 @@

if (!artifact) return 0; return artifact.download_count; }; - const count = getCount(responses[0]) + getCount(responses[1]); + const count = getCount(responses[0]) + getCount(responses[1]) + getCount(responses[2]); document.getElementById("template-versions").innerText = count; });