diff --git a/public/scripts/sw-file-digester.js b/public/scripts/sw-file-digester.js index 0a2bb3b0..ee9f7592 100644 --- a/public/scripts/sw-file-digester.js +++ b/public/scripts/sw-file-digester.js @@ -44,5 +44,6 @@ async function onGetFile(fileName) { self.postMessage({type: "file", file: file}); file = null; - // Todo: delete file from storage + + await (await navigator.storage.getDirectory()).removeEntry(fileName); } \ No newline at end of file