Fix exception when running in Firefox over insecure http. Fix #1039

This commit is contained in:
Deluan
2021-04-18 02:20:54 -04:00
parent 0063720cc2
commit b6f525bda5
+5 -1
View File
@@ -59,7 +59,11 @@ const authProvider = {
logout: () => {
stopEventStream()
removeItems()
clearServiceWorkerCache()
try {
clearServiceWorkerCache()
} catch (e) {
console.log('Error clearing service worker cache:', e)
}
return Promise.resolve()
},