fix: do not cache pdfs

This commit is contained in:
John Guilding
2025-12-16 21:20:54 -05:00
parent 53fe103d88
commit 63011a1c63

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