File tree Expand file tree Collapse file tree
cycletracker/service_workers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const APP_STATIC_RESOURCES = [
99 "/" ,
1010 "/index.html" ,
1111 "/app.js" ,
12- "/styles .css" ,
12+ "/style .css" ,
1313 "/icons/wheel.svg" ,
1414] ;
1515
@@ -19,7 +19,7 @@ self.addEventListener("install", (event) => {
1919 ( async ( ) => {
2020 const cache = await caches . open ( CACHE_NAME ) ;
2121 cache . addAll ( APP_STATIC_RESOURCES ) ;
22- } ) ( ) ,
22+ } ) ( )
2323 ) ;
2424} ) ;
2525
@@ -33,10 +33,10 @@ self.addEventListener("activate", (event) => {
3333 if ( name !== CACHE_NAME ) {
3434 return caches . delete ( name ) ;
3535 }
36- } ) ,
36+ } )
3737 ) ;
3838 await clients . claim ( ) ;
39- } ) ( ) ,
39+ } ) ( )
4040 ) ;
4141} ) ;
4242
@@ -60,6 +60,6 @@ self.addEventListener("fetch", (event) => {
6060 }
6161 // If resource isn't in the cache, return a 404.
6262 return new Response ( null , { status : 404 } ) ;
63- } ) ( ) ,
63+ } ) ( )
6464 ) ;
6565} ) ;
You can’t perform that action at this time.
0 commit comments