File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44 <url >
55 <loc >https://javascriptmn.com/code-of-conduct/</loc >
6- <lastmod >2020-10-26T05:08:29.551Z </lastmod >
6+ <lastmod >2020-10-26T05:42:36.161Z </lastmod >
77 <changefreq ></changefreq >
88 </url >
99
1010 <url >
1111 <loc >https://javascriptmn.com/events/</loc >
12- <lastmod >2020-10-26T05:08:29.551Z </lastmod >
12+ <lastmod >2020-10-26T05:42:36.161Z </lastmod >
1313 <changefreq ></changefreq >
1414 </url >
1515
1616 <url >
1717 <loc >https://javascriptmn.com/</loc >
18- <lastmod >2020-10-26T05:08:29.551Z </lastmod >
18+ <lastmod >2020-10-26T05:42:36.161Z </lastmod >
1919 <changefreq >daily</changefreq >
2020 </url >
2121
2222 <url >
2323 <loc >https://javascriptmn.com/speak/</loc >
24- <lastmod >2020-10-26T05:08:29.551Z </lastmod >
24+ <lastmod >2020-10-26T05:42:36.161Z </lastmod >
2525 <changefreq ></changefreq >
2626 </url >
2727
2828 <url >
2929 <loc >https://javascriptmn.com/sponsors/</loc >
30- <lastmod >2020-10-26T05:08:29.551Z </lastmod >
30+ <lastmod >2020-10-26T05:42:36.161Z </lastmod >
3131 <changefreq ></changefreq >
3232 </url >
3333
3434 <url >
3535 <loc >https://javascriptmn.com/sponsorship-opportunities/</loc >
36- <lastmod >2020-10-26T05:08:29.551Z </lastmod >
36+ <lastmod >2020-10-26T05:42:36.161Z </lastmod >
3737 <changefreq ></changefreq >
3838 </url >
3939
Original file line number Diff line number Diff line change 1+ // cleanup old Gatsby ServiceWorkers
2+ // https://github.com/NekR/self-destroying-sw
3+ self . addEventListener ( 'install' , function ( e ) {
4+ self . skipWaiting ( ) ;
5+ } ) ;
6+
7+ self . addEventListener ( 'activate' , function ( e ) {
8+ self . registration
9+ . unregister ( )
10+ . then ( function ( ) {
11+ return self . clients . matchAll ( ) ;
12+ } )
13+ . then ( function ( clients ) {
14+ clients . forEach ( ( client ) => client . navigate ( client . url ) ) ;
15+ } ) ;
16+ } ) ;
You can’t perform that action at this time.
0 commit comments