diff options
Diffstat (limited to 'src/frontend/app/routes/planner.tsx')
| -rw-r--r-- | src/frontend/app/routes/planner.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/frontend/app/routes/planner.tsx b/src/frontend/app/routes/planner.tsx index 7bfc5a3..b7ecaf9 100644 --- a/src/frontend/app/routes/planner.tsx +++ b/src/frontend/app/routes/planner.tsx @@ -831,7 +831,11 @@ export default function PlannerPage() { () => { // If geolocation fails, just keep origin empty }, - { enableHighAccuracy: true, timeout: 10000 } + { + enableHighAccuracy: true, + timeout: 10000, + maximumAge: 60 * 60 * 1000, // 1 hour in milliseconds + } ); } }} |
