Fix exception when running in Firefox over insecure http. Fix #1039
This commit is contained in:
@@ -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()
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user