anycoder-e2723b42 / next.config.js
Ezequield's picture
Upload next.config.js with huggingface_hub
27c5e29 verified
Raw History Blame Contribute Delete
379 Bytes
/** @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