import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: 'standalone', images: { localPatterns: [ { pathname: '/api/assets/**', }, { pathname: '/images/**', }, ], remotePatterns: [ { protocol: 'https', hostname: 'katheryn-cms.jeffemmett.com', pathname: '/assets/**', }, { protocol: 'http', hostname: 'localhost', port: '8055', pathname: '/assets/**', }, // Squarespace CDN (blog images from original site export) { protocol: 'https', hostname: 'images.squarespace-cdn.com', pathname: '/**', }, // YouTube thumbnails (for embeds) { protocol: 'https', hostname: 'i.ytimg.com', pathname: '/**', }, ], }, async headers() { return [ { source: '/:path*', headers: [ { key: 'Cache-Control', value: 'no-store, must-revalidate', }, ], }, ]; }, }; export default nextConfig;