fix: remove service worker

This commit is contained in:
2026-02-24 23:19:40 +01:00
parent c397f40239
commit c418bddd9e
3 changed files with 1 additions and 57 deletions

View File

@@ -30,24 +30,7 @@ const nextConfig: NextConfig = {
value: 'strict-origin-when-cross-origin',
},
],
},
{
source: '/sw.js',
headers: [
{
key: 'Content-Type',
value: 'application/javascript; charset=utf-8',
},
{
key: 'Cache-Control',
value: 'no-cache, no-store, must-revalidate',
},
{
key: 'Content-Security-Policy',
value: "default-src 'self'; script-src 'self'",
},
],
},
}
]
},
};