/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, output: 'standalone', async headers() { return [ { source: '/api/(.*)', headers: [ { key: 'Access-Control-Allow-Origin', value: '*', }, { key: 'Access-Control-Allow-Methods', value: 'GET, POST, PUT, DELETE, OPTIONS', }, { key: 'Access-Control-Allow-Headers', value: 'Content-Type, Authorization', }, ], }, ] }, } module.exports = nextConfig