mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 04:27:37 +03:00
fix(ui): service worker does not load new version of ui (#3402)
* fix(pwa): wip * fix(pwa): wip
This commit is contained in:
parent
270ae3549d
commit
0232afd98d
2 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,7 @@ func initMimeTypes() {
|
|||
// In some circumstances, Windows sets JS mime-type to `text/plain`!
|
||||
_ = mime.AddExtensionType(".js", "text/javascript")
|
||||
_ = mime.AddExtensionType(".css", "text/css")
|
||||
_ = mime.AddExtensionType(".webmanifest", "application/manifest+json")
|
||||
|
||||
f, err := resources.FS().Open("mime_types.yaml")
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue