feat: add custom headers configuration to next.js config for stream/suspense support
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m58s

This commit is contained in:
2025-07-05 21:21:08 +05:00
parent da7d101ea6
commit 683d85798a

View File

@ -21,6 +21,19 @@ const nextConfig: NextConfig = {
],
},
output: "standalone",
async headers() {
return [
{
source: '/:path*{/}?',
headers: [
{
key: 'X-Accel-Buffering',
value: 'no',
},
],
},
]
},
};
export default nextConfig;