import type { NextConfig } from "next"; const nextConfig: NextConfig = { // Image optimization images: { unoptimized: false, remotePatterns: [ { protocol: "https", hostname: "images.unsplash.com", port: "", pathname: "/**", }, ], }, // Ignore lint and TypeScript errors during build for deployment eslint: { ignoreDuringBuilds: true, }, typescript: { ignoreBuildErrors: true, }, // Custom headers for video files async headers() { return [ { source: "/:path*.mp4", headers: [ { key: "Content-Type", value: "video/mp4", }, ], }, ]; }, }; export default nextConfig;