Merge pull request #604 from JohnGuilding/feat/update-state-of-private-voting-2026

fix: do not cache pdfs
This commit is contained in:
Vivian Plasencia
2025-12-17 14:47:00 +01:00
committed by GitHub

View File

@@ -103,6 +103,15 @@ const nextConfig = {
},
],
},
{
source: "/articles/:path*\\.pdf",
headers: [
{
key: "Cache-Control",
value: "public, max-age=0, must-revalidate",
},
],
},
]
},
// Configure compiler for modern browsers