Skip to content

Commit 36e279d

Browse files
authored
Fix broken links (#2350)
1 parent 90f9c6b commit 36e279d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-scripts/template/README.md

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

14051405
1. Service workers are [not currently supported](https://jakearchibald.github.io/isserviceworkerready/)
1406-
in all web browsers. Service worker registration [won't be attempted](src/service-worker-registration.js)
1406+
in all web browsers. Service worker registration [won't be attempted](src/registerServiceWorker.js)
14071407
on browsers that lack support.
14081408

14091409
1. The service worker is only enabled in the [production environment](#deployment),
@@ -1419,7 +1419,7 @@ instructions for one way to test your production build locally and the [deployme
14191419
instructions for using other methods. *Be sure to always use an
14201420
incognito window to avoid complications with your browser cache.*
14211421

1422-
1. If possible,configure your production environment to serve the generated
1422+
1. If possible, configure your production environment to serve the generated
14231423
`service-worker.js` [with HTTP caching disabled](http://stackoverflow.com/questions/38843970/service-worker-javascript-update-frequency-every-24-hours).
14241424
If that's not possible—[GitHub Pages](#github-pages), for instance, does not
14251425
allow you to change the default 10 minute HTTP cache lifetime—then be aware
@@ -1437,7 +1437,7 @@ app works offline!" message) and also let them know when the service worker has
14371437
fetched the latest updates that will be available the next time they load the
14381438
page (showing a "New content is available; please refresh." message). Showing
14391439
this messages is currently left as an exercise to the developer, but as a
1440-
starting point, you can make use of the logic included in [`src/service-worker-registration.js`](src/service-worker-registration.js), which
1440+
starting point, you can make use of the logic included in [`src/registerServiceWorker.js`](src/registerServiceWorker.js), which
14411441
demonstrates which service worker lifecycle events to listen for to detect each
14421442
scenario, and which as a default, just logs appropriate messages to the
14431443
JavaScript console.

0 commit comments

Comments
 (0)