Actually THIS is the last commit... DONT FORGET TO EDIT THE MANIFEST AAAAND THE SERVICE WORKER REGISTRATION IN THE INDEX.HTML
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@
|
||||
if ('serviceWorker' in navigator) {
|
||||
// Register a service worker hosted at the root of the
|
||||
// site using the default scope.
|
||||
navigator.serviceWorker.register('/es2-2022-2023/rhmr/PokemonTinder/sw.js').then(
|
||||
navigator.serviceWorker.register('/PokemonTinder/sw.js').then(
|
||||
(registration) => {
|
||||
console.log('Service worker registration succeeded:', registration)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user