Remove proxy on BL MapData

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

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