diff options
Diffstat (limited to 'public/sw.js')
| -rw-r--r-- | public/sw.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/sw.js b/public/sw.js index 1aa9747..70ca169 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,6 +1,6 @@ const API_CACHE_NAME = 'api-cache-v1' const API_URL_PATTERN = /\/api\/(GetStopList)/; -const API_MAX_AGE = 72 * 60 * 60 * 1000; // 72 hours +const API_MAX_AGE = 24 * 60 * 60 * 1000; // 24 hours self.addEventListener('install', (event) => { event.waitUntil(self.skipWaiting()); |
