diff --git a/next.config.ts b/next.config.ts index 68a6c64..dceb131 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,30 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", + images: { + localPatterns: [ + { + pathname: "/images/**", + search: "?v=*", + }, + { + pathname: "/images/**", + }, + ], + }, + async headers() { + return [ + { + source: "/images/:path*", + headers: [ + { + key: "Cache-Control", + value: "public, max-age=31536000, immutable", + }, + ], + }, + ]; + }, }; export default nextConfig; diff --git a/src/app/page.tsx b/src/app/page.tsx index 53fb9a8..21b7304 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -123,7 +123,7 @@ function RitualArtSection() { {/* Featured Art Image */}