Fixed bug with where maps presents

This commit is contained in:
admin 2025-07-13 17:42:59 -06:00
parent 4578c1a72e
commit 952b17ad3c

View File

@ -10,7 +10,7 @@ export let isStartLocationVisible = true;
export async function initializeMap() {
try {
// Get start location from PUBLIC endpoint (not admin endpoint)
const response = await fetch('/api/config/start-location');
const response = await fetch('/api/settings/start-location'); // Changed from /api/config/start-location
const data = await response.json();
let startLat = CONFIG.DEFAULT_LAT;