Skip to content

Commit

Permalink
Fix broken links to src/serviceWorker.js (#5286)
Browse files Browse the repository at this point in the history
  • Loading branch information
adambowles authored and Timer committed Oct 4, 2018
1 parent 4bda8f7 commit 61c0ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ following into account:
registration will fail, but the rest of your web app will remain functional.

1. Service workers are [not supported](https://jakearchibald.github.io/isserviceworkerready/#moar)
in older web browsers. Service worker registration [won't be attempted](src/registerServiceWorker.js)
in older web browsers. Service worker registration [won't be attempted](src/serviceWorker.js)
on browsers that lack support.

1. The service worker is only enabled in the [production environment](#deployment),
Expand All @@ -1882,7 +1882,7 @@ following into account:
fetched the latest updates that will be available the next time they load the
page (showing a "New content is available; please refresh." message). Showing
this messages is currently left as an exercise to the developer, but as a
starting point, you can make use of the logic included in [`src/registerServiceWorker.js`](src/registerServiceWorker.js), which
starting point, you can make use of the logic included in [`src/serviceWorker.js`](src/serviceWorker.js), which
demonstrates which service worker lifecycle events to listen for to detect each
scenario, and which as a default, just logs appropriate messages to the
JavaScript console.
Expand Down

0 comments on commit 61c0ba3

Please sign in to comment.