From 8efd5a9c31a36adca9606153029bceb21280ce3f Mon Sep 17 00:00:00 2001 From: uc-hoba Date: Wed, 10 Jun 2026 10:55:44 +0800 Subject: [PATCH] fix(route): correct service worker source path --- src/app/serwist/[path]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/serwist/[path]/route.ts b/src/app/serwist/[path]/route.ts index 5fc5cdd..7e9a914 100644 --- a/src/app/serwist/[path]/route.ts +++ b/src/app/serwist/[path]/route.ts @@ -9,7 +9,7 @@ import { createSerwistRoute } from '@serwist/turbopack'; export const { dynamic, dynamicParams, revalidate, generateStaticParams, GET } = createSerwistRoute({ additionalPrecacheEntries: [{ url: '/~offline' }], - swSrc: 'app/sw.ts', + swSrc: 'src/app/sw.ts', // nextConfig, // If set to `false`, Serwist will attempt to use `esbuild-wasm`. useNativeEsbuild: true,