Merged hotfix-0.8.1 into develop

master
Keith Irwin 2018-01-22 22:37:42 +00:00
commit 89585fd31b
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
4 changed files with 11 additions and 4 deletions

View File

@ -1,4 +1,8 @@
# Tracman Server Changelog
### v0.8.1
###### v0.8.1
* Hotfixed service worker bug
###### v0.8.0
* Added check to ensure only the newest location is sent

View File

@ -1,5 +1,5 @@
# <img align="left" src="/static/img/icon/by/48.png" alt="T" title="The Tracman Logo">Tracman
###### v 0.8.0
###### v 0.8.1
node.js application to display a sharable map with user's location.
@ -55,6 +55,9 @@ Tracman will be updated according to [this branching model](http://nvie.com/post
[view full changelog](CHANGELOG.md)
###### v0.8.1
* Hotfixed service worker bug
#### v0.8.0
* Added check to ensure only the newest location is sent
* Removed buggy login/-out redirects

View File

@ -1,6 +1,6 @@
{
"name": "tracman",
"version": "0.8.0",
"version": "0.8.1",
"description": "Tracks user's GPS location",
"main": "server.js",
"dependencies": {

View File

@ -16,7 +16,7 @@
// Names of the two caches used in this version of the service worker.
// Change when you update any of the local resources, which will
// in turn trigger the install event again.
const PRECACHE = 'precache-0.8.0'
const PRECACHE = 'precache-0.8.1'
const RUNTIME = 'runtime'
// A list of local resources we always want to be cached.
@ -46,7 +46,7 @@ self.addEventListener('activate', function(event) {
return Promise.all(cachesToDelete.map( function(cacheToDelete) {
return caches.delete(cacheToDelete)
}))
}).then( function(){ self.clients.claim() )
}).then( function(){ self.clients.claim() } )
)
})