Sync deploy: backend, frontend, worker, docker, config

This commit is contained in:
Azouhri Abdelaziz
2026-02-04 21:07:16 +01:00
parent afc35752c1
commit 9dadde4ab4

View File

@@ -24,8 +24,8 @@ const nextConfig: NextConfig = {
{ key: "X-XSS-Protection", value: "1; mode=block" },
{ key: "Referrer-Policy", value: "origin-when-cross-origin" },
{ key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=()" },
// Short cache for HTML so after deploy users get new chunk refs (reduces chunk load errors on mobile)
{ key: "Cache-Control", value: "public, max-age=0, must-revalidate" },
// No cache for HTML so after deploy users always get fresh app (avoids "Failed to find Server Action" + 504)
{ key: "Cache-Control", value: "no-store, no-cache, must-revalidate" },
],
},
];