Push location config to client

We'll let the default stay the default.
This commit is contained in:
Eli Ribble 2026-05-08 22:48:51 +00:00
parent 28cf7683a7
commit da90401b2d
No known key found for this signature in database
2 changed files with 13 additions and 4 deletions

View file

@ -15,11 +15,15 @@ export const useStoreLocation = defineStore("location", () => {
}
// Default options if none provided
const geolocationOptions = options || {
const geolocationOptions =
options ||
{
/*
enableHighAccuracy: true,
timeout: 5000,
timeout: 60000,
maximumAge: 0,
};
*/
};
// Call the geolocation API
navigator.geolocation.getCurrentPosition(