Fixed bug with where maps presents

This commit is contained in:
admin 2025-07-13 17:42:59 -06:00
parent 2b05b608ba
commit 9e5b3193f7

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;