diff --git a/src/service-worker.ts b/src/service-worker.ts index 1e209ba..5f5610f 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -28,7 +28,7 @@ // Cache the locale files (currently the only preloading step) registerRoute( - ({ url }) => url.pathname.startsWith("/locale/"), + ({ url }) => url.pathname.startsWith("/locales/"), new StaleWhileRevalidate({}) );