edia all routes
This commit is contained in:
@@ -314,7 +314,7 @@ async function linkUserByRfidUid(rfidUid) {
|
||||
|
||||
try {
|
||||
// First, find the player with this RFID UID
|
||||
const response = await fetch('/api/link-by-rfid', {
|
||||
const response = await fetch('/api/v1/public/link-by-rfid', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
@@ -362,7 +362,7 @@ async function loadUserTimesSection(playerData) {
|
||||
showTimesLoading();
|
||||
|
||||
try {
|
||||
const response = await fetch(`/api/user-times/${currentUser.id}`);
|
||||
const response = await fetch(`/api/v1/public/user-times/${currentUser.id}`);
|
||||
const times = await response.json();
|
||||
|
||||
// Update stats
|
||||
|
||||
Reference in New Issue
Block a user