Fixed bug with where maps presents
This commit is contained in:
parent
2b05b608ba
commit
9e5b3193f7
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user