Skip to content

Commit

Permalink
lower max age for geolocate
Browse files Browse the repository at this point in the history
  • Loading branch information
jonerrr committed Jul 18, 2024
1 parent 9f59bbe commit bcd49eb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "backend"
version = "0.4.6"
version = "0.4.7"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trainstatus",
"version": "0.4.6",
"version": "0.4.7",
"private": true,
"scripts": {
"dev": "vite dev",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
location_status.set(LocationStatus.Denied);
},
// 1 minute
{ maximumAge: 60 * 1000 }
// 30 sec
{ maximumAge: 30 }
);
}
Expand Down

0 comments on commit bcd49eb

Please sign in to comment.