Skip to content

Commit a681e91

Browse files
ianschmitzgoldhand
authored andcommitted
Fix file references in READMEmd
1 parent 21d14bb commit a681e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-scripts/template/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ If your production web server does not support HTTPS, then the service worker
10841084
registration will fail, but the rest of your web app will remain functional.
10851085

10861086
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)
10881088
on browsers that lack support.
10891089

10901090
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
11111111
fetched the latest updates that will be available the next time they load the
11121112
page (showing a "New content is available; please refresh." message). Showing
11131113
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
11151115
demonstrates which service worker lifecycle events to listen for to detect each
11161116
scenario, and which as a default, just logs appropriate messages to the
11171117
JavaScript console.

0 commit comments

Comments
 (0)