File tree 1 file changed +2
-2
lines changed
packages/react-scripts/template
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
1084
1084
registration will fail, but the rest of your web app will remain functional.
1085
1085
1086
1086
1 . 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 )
1088
1088
on browsers that lack support.
1089
1089
1090
1090
1 . 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
1111
1111
fetched the latest updates that will be available the next time they load the
1112
1112
page (showing a "New content is available; please refresh." message). Showing
1113
1113
this 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
1115
1115
demonstrates which service worker lifecycle events to listen for to detect each
1116
1116
scenario, and which as a default, just logs appropriate messages to the
1117
1117
JavaScript console.
You can’t perform that action at this time.
0 commit comments