/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, output: 'standalone', async headers() { return [ { source: '/sw.js', headers: [ { key: 'Cache-Control', value: 'public, max-age=0, must-revalidate', }, { key: 'Service-Worker-Allowed', value: '/', }, ], }, ]; }, }; module.exports = nextConfig;