Spaces:
Running
Running
| import type { NextConfig } from "next"; | |
| const nextConfig: NextConfig = { | |
| experimental: { | |
| globalNotFound: true, | |
| }, | |
| images: { | |
| remotePatterns: [ | |
| { | |
| protocol: "https", | |
| hostname: "huggingface.co", | |
| }, | |
| { | |
| protocol: "https", | |
| hostname: "i.imgur.com", | |
| } | |
| ], | |
| }, | |
| headers: async () => [ | |
| { | |
| source: "/:path*", | |
| headers: [ | |
| { | |
| key: "Cache-Control", | |
| value: "public, max-age=0, must-revalidate", | |
| }, | |
| ], | |
| }, | |
| { | |
| source: "/_next/static/:path*", | |
| headers: [ | |
| { | |
| key: "Cache-Control", | |
| value: "public, max-age=31536000, immutable", | |
| }, | |
| ], | |
| }, | |
| ], | |
| }; | |
| export default nextConfig; | |