diff --git a/web/app/components/provider/serwist.tsx b/web/app/components/provider/serwist.tsx index 9ef3481f34..696012e3ee 100644 --- a/web/app/components/provider/serwist.tsx +++ b/web/app/components/provider/serwist.tsx @@ -4,13 +4,13 @@ import { SerwistProvider } from '@serwist/turbopack/react' import { IS_DEV } from '@/config' export function PWAProvider({ children }: { children: React.ReactNode }) { - const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '' - const swUrl = `${basePath}/serwist/sw.js` - if (IS_DEV) { return <>{children} } + const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '' + const swUrl = `${basePath}/serwist/sw.js` + return ( {children}