File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,6 @@ const offlineFallbackPage = "ToDo-replace-this-name.html";
1212const networkFirstPaths = [
1313 /* Add an array of regex of paths that should go network first */
1414 // Example: /\/api\/.*/
15-
16- "./home" ,
17- "./login" ,
18- "./register" ,
19- "./contact" ,
20- "./create" ,
21- "./delete" ,
22- "./posts" ,
23- "./dist/style.css" ,
24- "./dist/App.bundle.js" ,
25- "./sw.js" ,
26- "./pwabuilder.js" ,
27- "./manifest.json" ,
2815] ;
2916
3017const avoidCachingPaths = [
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ function wrapAsync(fn: any) {
2323}
2424
2525router . get ( "/" , indexController . home ) ;
26- router . get ( "/home" , indexController . home ) ; // this route will be used by the service worker to cache the homepage
2726router . get ( "/contact" , indexController . contact ) ;
2827router . get ( "/404" , indexController . notFound ) ;
2928
You can’t perform that action at this time.
0 commit comments