diff --git a/docs/content/index.mdx b/docs/content/index.mdx index 9d3d60a5..8b1fa838 100644 --- a/docs/content/index.mdx +++ b/docs/content/index.mdx @@ -9,8 +9,8 @@ type: Docs - There are two different variants of this plugin: - - [`next-pwa`](/next-pwa/getting-started) - - [`next-sw` (not stable)](/next-sw) + - [`next-pwa`](/docs/next-pwa/getting-started) + - [`next-sw` (not stable)](/docs/next-sw) ## What's the difference between these two? diff --git a/docs/content/next-pwa/getting-started.mdx b/docs/content/next-pwa/getting-started.mdx index bede3111..69a08c05 100644 --- a/docs/content/next-pwa/getting-started.mdx +++ b/docs/content/next-pwa/getting-started.mdx @@ -378,7 +378,7 @@ export default function App({ Component, pageProps }: AppProps) { ## Tips -- [You may want to ask user to reload when a new service worker is installed](https://github.com/DuCanhGH/next-pwa/tree/master/examples/lifecycle/pages/index.tsx#L20-L41) +- [You may want to ask user to reload when a new service worker is installed](https://github.com/DuCanhGH/next-pwa/tree/master/examples/lifecycle/components/PWALifecycle.tsx#L20-L40) - When you are debugging the service worker, remember to constantly clean the application cache to reduce some flaky errors.