diff --git a/frontend/src/sw.ts b/frontend/src/sw.ts index cb56c71..7f2965c 100644 --- a/frontend/src/sw.ts +++ b/frontend/src/sw.ts @@ -3,14 +3,15 @@ /// /// -import { build, files, version } from '$service-worker'; +import { build, files, version, prerendered } from '$service-worker'; // Create a unique cache name for this deployment const CACHE = `sw-cache-${version}`; const ASSETS = [ ...build, // the app itself - ...files // everything in `static` + ...files, // everything in `static`, + ...prerendered // dynamic routes ]; self.addEventListener('install', (event) => {