edia all routes
This commit is contained in:
@@ -106,7 +106,7 @@ async function logout() {
|
||||
// Load locations from database
|
||||
async function loadLocations() {
|
||||
try {
|
||||
const response = await fetch('/public-api/locations');
|
||||
const response = await fetch('/api/v1/public/locations');
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to fetch locations');
|
||||
}
|
||||
@@ -330,7 +330,7 @@ async function loadData() {
|
||||
}
|
||||
|
||||
// Fetch times with player and location data from local database
|
||||
const response = await fetch(`/public-api/times-with-details?${params.toString()}`);
|
||||
const response = await fetch(`/api/v1/public/times-with-details?${params.toString()}`);
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to fetch times');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user