fix accsaber not being proxied
This commit is contained in:
parent
a7385028c0
commit
f5a838442c
@ -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";
|
||||
|
Reference in New Issue
Block a user