mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-07 06:36:30 +00:00
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
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m58s
This commit is contained in:
@ -21,6 +21,19 @@ const nextConfig: NextConfig = {
|
||||
],
|
||||
},
|
||||
output: "standalone",
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: '/:path*{/}?',
|
||||
headers: [
|
||||
{
|
||||
key: 'X-Accel-Buffering',
|
||||
value: 'no',
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
Reference in New Issue
Block a user