Small fixes

This commit is contained in:
Alejandro Celaya
2022-12-25 09:13:45 +01:00
parent 408ec82a10
commit 822fe3db9e
4 changed files with 10 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ declare const self: ServiceWorkerGlobalScope;
clientsClaim();
// Precache all of the assets generated by your build process.
// Precache all the assets generated by your build process.
// Their URLs are injected into the manifest variable below.
// This variable must be present somewhere in your service worker file,
// even if you decide not to use precaching. See https://cra.link/PWA
@@ -49,7 +49,7 @@ registerRoute(
// Return true to signal that we want to use the handler.
return true;
},
createHandlerBoundToURL('/index.html')
createHandlerBoundToURL('/index.html') // TODO Add prefix
);
// An example runtime caching route for requests that aren't handled by the