Merge branch 'main' into next

This commit is contained in:
Meier Lukas committed 2026-05-08 23:46:21 +02:00
commit 6feb37dfd4
148 files changed
+25805 -7567

No files matched your search

+9
View File
@@ -44,9 +44,18 @@ const nextConfig: NextConfig = {
},
],
},
// skipcq: JS-0116
// eslint-disable-next-line @typescript-eslint/require-await,no-restricted-syntax
async headers() {
return [
{
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'" },
],
},
{
source: "/(.*)", // Apply CSP to all routes
headers: [