Remove proxy on BL MapData

This commit is contained in:
Liam 2022-10-21 15:08:03 +01:00
parent 387edeb2c2
commit f7de7425f9

View File

@ -11,9 +11,7 @@ const WebsiteTypes = {
PlayerData:
process.env.NEXT_PUBLIC_HTTP_PROXY +
"/https://api.beatleader.xyz/player/%s",
MapData:
process.env.NEXT_PUBLIC_HTTP_PROXY +
"/https://api.beatleader.xyz/map/hash/%h",
MapData: "https://api.beatleader.xyz/map/hash/%h",
},
async getMapStarCount(mapHash, mapDiff, characteristic) {
const data = await fetch(