mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Fix exception when running in Firefox over insecure http. Fix #1039
This commit is contained in:
parent
ea3f12493c
commit
76cb27cfe2
@ -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…
x
Reference in New Issue
Block a user