Skip to content

Commit

Permalink
Fix typo in deployment docs (#6881)
Browse files Browse the repository at this point in the history
Typo : preache => precache
  • Loading branch information
david-cho-lerat-HL2 authored and iansu committed Apr 24, 2019
1 parent 73d5579 commit 126bded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/deployment.md
Expand Up @@ -90,7 +90,7 @@ service worker navigation routing can be configured or disabled by
[`eject`ing](available-scripts.md#npm-run-eject) and then modifying the
[`navigateFallback`](https://github.com/GoogleChrome/sw-precache#navigatefallback-string)
and [`navigateFallbackWhitelist`](https://github.com/GoogleChrome/sw-precache#navigatefallbackwhitelist-arrayregexp)
options of the `SWPreachePlugin` [configuration](../config/webpack.config.prod.js).
options of the `SWPrecachePlugin` [configuration](../config/webpack.config.prod.js).

When users install your app to the homescreen of their device the default configuration will make a shortcut to `/index.html`. This may not work for client-side routers which expect the app to be served from `/`. Edit the web app manifest at [`public/manifest.json`](public/manifest.json) and change `start_url` to match the required URL scheme, for example:

Expand Down

0 comments on commit 126bded

Please sign in to comment.