Migrated serice worker generation to vite-plugin-pwa

This commit is contained in:
Alejandro Celaya
2022-12-24 19:17:28 +01:00
parent ced3fa00ef
commit 408ec82a10
7 changed files with 1792 additions and 191 deletions

View File

@@ -49,7 +49,7 @@ registerRoute(
// Return true to signal that we want to use the handler.
return true;
},
createHandlerBoundToURL(process.env.PUBLIC_URL + '/index.html')
createHandlerBoundToURL('/index.html')
);
// An example runtime caching route for requests that aren't handled by the