New service worker (#952)
* Add files via upload * Update serviceWorker.js
This commit is contained in:
@@ -32,7 +32,7 @@ export function register(config) {
|
||||
}
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`
|
||||
const swUrl = `${process.env.PUBLIC_URL}/navidrome-service-worker.js`
|
||||
|
||||
if (isLocalhost) {
|
||||
// This is running on localhost. Let's check if a service worker still exists or not.
|
||||
|
||||
Reference in New Issue
Block a user