Skip to content

Commit fd00af0

Browse files
committed
Fix link to PWA section of docs
Co-Authored-By: angie <6738119+angie@users.noreply.github.com>
1 parent 05aae37 commit fd00af0

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docusaurus/docs/making-a-progressive-web-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ following in their [`src/index.js`](https://github.com/facebook/create-react-app
1515
```js
1616
// If you want your app to work offline and load faster, you can change
1717
// unregister() to register() below. Note this comes with some pitfalls.
18-
// Learn more about service workers: http://bit.ly/CRA-PWA
18+
// Learn more about service workers: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
1919
serviceWorker.unregister();
2020
```
2121

packages/react-scripts/template-typescript/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ ReactDOM.render(<App />, document.getElementById('root'));
88

99
// If you want your app to work offline and load faster, you can change
1010
// unregister() to register() below. Note this comes with some pitfalls.
11-
// Learn more about service workers: http://bit.ly/CRA-PWA
11+
// Learn more about service workers: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
1212
serviceWorker.unregister();

packages/react-scripts/template-typescript/src/serviceWorker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// resources are updated in the background.
99

1010
// To learn more about the benefits of this model and instructions on how to
11-
// opt-in, read http://bit.ly/CRA-PWA
11+
// opt-in, read https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
1212

1313
const isLocalhost = Boolean(
1414
window.location.hostname === 'localhost' ||
@@ -51,7 +51,7 @@ export function register(config?: Config) {
5151
navigator.serviceWorker.ready.then(() => {
5252
console.log(
5353
'This web app is being served cache-first by a service ' +
54-
'worker. To learn more, visit http://bit.ly/CRA-PWA'
54+
'worker. To learn more, visit https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app'
5555
);
5656
});
5757
} else {
@@ -79,7 +79,7 @@ function registerValidSW(swUrl: string, config?: Config) {
7979
// content until all client tabs are closed.
8080
console.log(
8181
'New content is available and will be used when all ' +
82-
'tabs for this page are closed. See http://bit.ly/CRA-PWA.'
82+
'tabs for this page are closed. See https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app.'
8383
);
8484

8585
// Execute callback

packages/react-scripts/template/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ ReactDOM.render(<App />, document.getElementById('root'));
88

99
// If you want your app to work offline and load faster, you can change
1010
// unregister() to register() below. Note this comes with some pitfalls.
11-
// Learn more about service workers: http://bit.ly/CRA-PWA
11+
// Learn more about service workers: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
1212
serviceWorker.unregister();

packages/react-scripts/template/src/serviceWorker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// resources are updated in the background.
99

1010
// To learn more about the benefits of this model and instructions on how to
11-
// opt-in, read http://bit.ly/CRA-PWA
11+
// opt-in, read https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
1212

1313
const isLocalhost = Boolean(
1414
window.location.hostname === 'localhost' ||
@@ -43,7 +43,7 @@ export function register(config) {
4343
navigator.serviceWorker.ready.then(() => {
4444
console.log(
4545
'This web app is being served cache-first by a service ' +
46-
'worker. To learn more, visit http://bit.ly/CRA-PWA'
46+
'worker. To learn more, visit https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app'
4747
);
4848
});
4949
} else {
@@ -71,7 +71,7 @@ function registerValidSW(swUrl, config) {
7171
// content until all client tabs are closed.
7272
console.log(
7373
'New content is available and will be used when all ' +
74-
'tabs for this page are closed. See http://bit.ly/CRA-PWA.'
74+
'tabs for this page are closed. See https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app.'
7575
);
7676

7777
// Execute callback

0 commit comments

Comments
 (0)