CoolFace
Apppublic

enzostvs/deepsite

sourceHugging Facemitupdated 8mo agoView on Hugging Face
17klikes
next.config.ts42 linesDownload Raw Back to root
1import type { NextConfig } from "next";2 3const nextConfig: NextConfig = {4  experimental: {5    globalNotFound: true,6  },7  images: {8    remotePatterns: [9      {10        protocol: "https",11        hostname: "huggingface.co",12      },13      {14        protocol: "https",15        hostname: "i.imgur.com",16      }17    ],18  },19  headers: async () => [20    {21      source: "/:path*",22      headers: [23        {24          key: "Cache-Control",25          value: "public, max-age=0, must-revalidate",26        },27      ],28    },29    {30      source: "/_next/static/:path*",31      headers: [32        {33          key: "Cache-Control",34          value: "public, max-age=31536000, immutable",35        },36      ],37    },38  ],39};40 41export default nextConfig;42