diff --git a/src/routes/solid-start/guides/service-workers.mdx b/src/routes/solid-start/guides/service-workers.mdx index b9529686c..711500abb 100644 --- a/src/routes/solid-start/guides/service-workers.mdx +++ b/src/routes/solid-start/guides/service-workers.mdx @@ -5,9 +5,9 @@ title: "Service workers" To register a service worker: 1. Place your service-worker file in the `public` directory (e.g., `public/sw.js`), making it available at the root URL (`/sw.js`). -2. Add registration logic to the `client.entry.tsx` file. +2. Add registration logic to the `entry-client.tsx` file. -```tsx {6-11} title="src/client.entry.tsx" +```tsx {6-11} title="src/entry-client.tsx" // @refresh reload import { mount, StartClient } from "@solidjs/start/client";