next.config.mjs 301 B

123456789101112131415161718
  1. /** @type {import('next').NextConfig} */
  2. const nextConfig = {
  3. async headers() {
  4. return [
  5. {
  6. source: "/overview-cards/v2/:path*",
  7. headers: [
  8. {
  9. key: "Cache-Control",
  10. value: "public, max-age=31536000, immutable",
  11. },
  12. ],
  13. },
  14. ];
  15. },
  16. };
  17. export default nextConfig;