fix: undefined service worker

This commit is contained in:
Phan An 2022-07-27 22:09:48 +02:00
parent 7f0af57923
commit ac53b6dd00
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -17,4 +17,4 @@ createApp(App)
*/
.mount('#app')
navigator.serviceWorker.register('./sw.js')
navigator.serviceWorker?.register('./sw.js')