mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-16 13:20:01 +01:00
Update sw.js
This commit is contained in:
committed by
GitHub
parent
5ca84ae88a
commit
2c127bc5f3
@@ -65,7 +65,7 @@ self.addEventListener('fetch', function(event) {
|
||||
|
||||
var dbPromise = idb.open('cache-db', 1, function(upgradeDb) {
|
||||
if (!upgradeDb.objectStoreNames.contains('caches')) {
|
||||
var cachedb = upgradeDb.createObjectStore('cache', {keyPath: });
|
||||
var cachedb = upgradeDb.createObjectStore('cache', {keyPath: 'name'});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user