/** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', compress: true, poweredByHeader: false, images: { unoptimized: true, }, async headers() { return [ { source: '/api/files/:path*', headers: [ { key: 'Cache-Control', value: 'public, max-age=31536000, immutable' }, ], }, ] }, turbopack: { root: process.cwd(), }, } module.exports = nextConfig