feat: change API router structure

This commit is contained in:
2025-02-11 14:14:23 +01:00
parent 55b7b6f206
commit e89a2eea20
5 changed files with 55 additions and 21 deletions

View File

@@ -272,7 +272,7 @@ export default function Rankings() {
const [openTab, setOpenTab] = useState("Chemistry");
async function loadPlayers() {
const response = await fetch(`${baseUrl}player/list`, {
const response = await fetch(`${baseUrl}api/player/list`, {
method: "GET",
});
const data = await response.json();