Merge branch 'develop' of github.com:thecodingmachine/workadventure into samePlaceAfterEditProfile
This commit is contained in:
commit
bf6ce94b80
32 changed files with 27 additions and 25 deletions
7
front/dist/service-worker-prod.js
vendored
7
front/dist/service-worker-prod.js
vendored
|
@ -1,4 +1,4 @@
|
|||
let CACHE_NAME = 'workavdenture-cache-v1.4.14';
|
||||
let CACHE_NAME = 'workavdenture-cache';
|
||||
let urlsToCache = [
|
||||
'/'
|
||||
];
|
||||
|
@ -14,7 +14,8 @@ self.addEventListener('install', function(event) {
|
|||
});
|
||||
|
||||
self.addEventListener('fetch', function(event) {
|
||||
event.respondWith(
|
||||
//TODO mamnage fetch data and cache management
|
||||
/*event.respondWith(
|
||||
caches.match(event.request)
|
||||
.then(function(response) {
|
||||
// Cache hit - return response
|
||||
|
@ -44,7 +45,7 @@ self.addEventListener('fetch', function(event) {
|
|||
}
|
||||
);
|
||||
})
|
||||
);
|
||||
);*/
|
||||
});
|
||||
|
||||
self.addEventListener('wait', function(event) {
|
||||
|
|
|
@ -17,7 +17,7 @@ const authToken = "authToken";
|
|||
const state = "state";
|
||||
const nonce = "nonce";
|
||||
|
||||
const cacheAPIIndex = "workavdenture-cache-v1";
|
||||
const cacheAPIIndex = "workavdenture-cache";
|
||||
|
||||
class LocalUserStore {
|
||||
saveUser(localUser: LocalUser) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue