From 69b2bf479e682a94d2040d2dcd09c89bc19a45d4 Mon Sep 17 00:00:00 2001 From: GeekCorner <45696571+GeekCornerGH@users.noreply.github.com> Date: Sun, 9 Jan 2022 09:18:25 +0100 Subject: [PATCH] Fix uptime --- app/assets/js/mojang.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/js/mojang.js b/app/assets/js/mojang.js index 2e83d917..bfbf3f96 100644 --- a/app/assets/js/mojang.js +++ b/app/assets/js/mojang.js @@ -84,7 +84,7 @@ const statuses = [ essential: false } ] -const requestURL = function (serviceURL) { return `https://raw.githubusercontent.com/GeekCornerGH/helios-status-page/master/api/${serviceURL.service}/uptime.json`} +const requestURL = function (serviceURL) { return `https://raw.githubusercontent.com/GeekCornerGH/helios-status-page/master/api/${serviceURL.service}/uptime-day.json`} // Functions @@ -295,4 +295,4 @@ exports.refresh = function (accessToken, clientToken, requestUser = true) { } }) }) -} \ No newline at end of file +}