anycoder-0b0eca81 / next.config.js
Juanfa's picture
Upload next.config.js with huggingface_hub
7167e65 verified
raw
history blame contribute delete
533 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
output: 'standalone',
images: {
unoptimized: true
},
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'Cross-Origin-Embedder-Policy',
value: 'require-corp',
},
{
key: 'Cross-Origin-Opener-Policy',
value: 'same-origin',
},
],
},
];
},
}
module.exports = nextConfig