Fixed bug with where maps presents
This commit is contained in:
parent
4578c1a72e
commit
952b17ad3c
@ -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