Change hardcoded api url for dynamic one

This commit is contained in:
kittentm 2026-02-20 04:47:47 +01:00
commit 90f3982c1d

View file

@ -1,4 +1,4 @@
const API_URL = "https://api.splatcord.ink/prod/s1rotations";
const API_URL = `${CONFIG.API_BASE_URL}/api/v1/boss`;
function stageNames(stages, lang = "en-US") {
return stages.map(s => s.translatedNames[lang]);