refactor: rpc url to a generic url

This commit is contained in:
JackEnx
2024-12-17 15:48:11 -03:00
parent 347e38c413
commit 4c3eb98041
4 changed files with 8 additions and 6 deletions

View File

@@ -33,7 +33,9 @@ let currentTick = 1;
const gameExecutables = (
await axios
.get(import.meta.env.MAIN_VITE_RPC_GAME_EXECUTABLES_URL)
.get(
import.meta.env.MAIN_VITE_EXTERNAL_RESOURCES + "/game-executables.json"
)
.catch(() => {
return { data: {} };
})