certuna 1ea3d005e8
clear the ServiceWorker cache on logout (#854)
* Update authProvider.js

This fixes https://github.com/navidrome/navidrome/issues/613 : clears the ServiceWorker cache on logout. Based on this code: https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/keys . Seems to work on macOS and iOS, but please test on other platforms.

* Format code with `prettier`

Co-authored-by: Deluan <deluan@navidrome.org>
2021-03-21 14:34:10 -04:00
..
2021-03-16 23:19:11 -04:00
2021-02-03 19:08:03 -05:00
2020-11-27 13:13:51 -05:00
2021-03-21 13:29:35 -04:00
2020-10-04 11:47:25 -04:00
2021-02-03 19:08:03 -05:00
2020-11-21 02:03:54 -05:00
2020-11-27 18:27:32 -05:00
2021-02-03 18:29:33 -05:00
2020-11-25 15:29:46 -05:00
2021-02-05 13:10:58 -05:00
2020-10-01 12:12:18 -04:00
2020-01-14 18:06:40 -05:00