Sync deploy: backend, frontend, worker, docker, config
This commit is contained in:
@@ -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" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user