Fix exception when running in Firefox over insecure http. Fix #1039
This commit is contained in:
parent
0063720cc2
commit
b6f525bda5
1 changed files with 5 additions and 1 deletions
|
|
@ -59,7 +59,11 @@ const authProvider = {
|
||||||
logout: () => {
|
logout: () => {
|
||||||
stopEventStream()
|
stopEventStream()
|
||||||
removeItems()
|
removeItems()
|
||||||
clearServiceWorkerCache()
|
try {
|
||||||
|
clearServiceWorkerCache()
|
||||||
|
} catch (e) {
|
||||||
|
console.log('Error clearing service worker cache:', e)
|
||||||
|
}
|
||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue