/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, // Configure headers for HuggingFace Spaces async headers() { return [ { source: '/:path*', headers: [ { key: 'Access-Control-Allow-Origin', value: '*', }, ], }, ]; }, } module.exports = nextConfig