Skip to content

Commit 61c0ba3

Browse files
adambowlesTimer
authored andcommittedOct 4, 2018
Fix broken links to src/serviceWorker.js (#5286)
1 parent 4bda8f7 commit 61c0ba3

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
@@ -1859,7 +1859,7 @@ following into account:
18591859
registration will fail, but the rest of your web app will remain functional.
18601860

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.