fix: service worker path
This commit is contained in:
parent
175b786ec6
commit
fb2eb4c439
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
import {register} from 'register-service-worker'
|
||||
|
||||
if (import.meta.env.PROD) {
|
||||
register('/sw.ts', {
|
||||
register('/sw.js', {
|
||||
ready() {
|
||||
console.log('App is being served from cache by a service worker.')
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue