Fix exception when running in Firefox over insecure http. Fix #1039
This commit is contained in:
parent
0063720cc2
commit
b6f525bda5
|
@ -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()
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue