File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-scripts/template Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1084,7 +1084,7 @@ If your production web server does not support HTTPS, then the service worker
10841084registration will fail, but the rest of your web app will remain functional.
10851085
108610861 . Service workers are [ not currently supported] ( https://jakearchibald.github.io/isserviceworkerready/ )
1087- in all web browsers. Service worker registration [ won't be attempted] ( src/register- service-worker.js )
1087+ in all web browsers. Service worker registration [ won't be attempted] ( src/service-worker-registration .js )
10881088on browsers that lack support.
10891089
109010901 . The service worker is only enabled in the [ production environment] ( #Deployment ) ,
@@ -1111,7 +1111,7 @@ app works offline!" message) and also let them know when the service worker has
11111111fetched the latest updates that will be available the next time they load the
11121112page (showing a "New content is available; please refresh." message). Showing
11131113this messages is currently left as an exercise to the developer, but as a
1114- starting point, you can make use of the logic included in [ ` src/register- service-worker.js ` ] ( src/register- service-worker.js ) , which
1114+ starting point, you can make use of the logic included in [ ` src/service-worker-registration .js ` ] ( src/service-worker-registration .js ) , which
11151115demonstrates which service worker lifecycle events to listen for to detect each
11161116scenario, and which as a default, just logs appropriate messages to the
11171117JavaScript console.
You can’t perform that action at this time.
0 commit comments