From c0cac09a4ddff307abf7ca4d15828ae253b87efc Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Fri, 21 Oct 2022 14:50:52 +0100 Subject: [PATCH] Change endpoint --- src/consts/LeaderboardType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts/LeaderboardType.js b/src/consts/LeaderboardType.js index 1229a53..b50c1d5 100644 --- a/src/consts/LeaderboardType.js +++ b/src/consts/LeaderboardType.js @@ -13,7 +13,7 @@ const WebsiteTypes = { "/https://api.beatleader.xyz/player/%s", MapData: process.env.NEXT_PUBLIC_HTTP_PROXY + - "/https://api.beatleader.xyz/leaderboard/hash/%h/%d/%m", + "/https://api.beatleader.xyz/map/hash/%h", }, async getMapStarCount(mapHash, mapDiff, characteristic) { const data = await fetch(