🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Remove clearServiceWorkerCache, not needed anymore. (#1205)
certuna265f33ed9da1
diff --git a/ui/src/authProvider.js b/ui/src/authProvider.jsindex f569aa476..78eb3b551 100644--- a/ui/src/authProvider.js+++ b/ui/src/authProvider.js@@ -68,11 +68,6 @@ const authProvider = {logout: () => {stopEventStream()removeItems()- try {- clearServiceWorkerCache()- } catch (e) {- console.log('Error clearing service worker cache:', e)- }return Promise.resolve()},@@ -115,11 +110,4 @@ const removeItems = () => {localStorage.removeItem('is-authenticated')}-const clearServiceWorkerCache = () => {- window.caches &&- caches.keys().then(function (keyList) {- for (let key of keyList) caches.delete(key)- })-}-export default authProvider