diff --git a/src/network/queues/accsaber/api-queue.js b/src/network/queues/accsaber/api-queue.js index 2caa309..4d0b5aa 100644 --- a/src/network/queues/accsaber/api-queue.js +++ b/src/network/queues/accsaber/api-queue.js @@ -1,7 +1,8 @@ -import { default as createQueue, PRIORITY } from "../http-queue"; +import ssrConfig from "../../../ssr-config"; import { substituteVars } from "../../../utils/format"; +import { default as createQueue, PRIORITY } from "../http-queue"; -const ACCSABER_API_URL = "https://api.accsaber.com"; +const ACCSABER_API_URL = ssrConfig.proxy + "/https://api.accsaber.com"; const CATEGORIES_URL = ACCSABER_API_URL + "/categories"; const RANKING_URL = ACCSABER_API_URL + "/categories/${category}/standings"; const PLAYER_SCORES_URL = ACCSABER_API_URL + "/players/${playerId}/scores";