All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m9s
24 lines
563 B
JavaScript
24 lines
563 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: '100gb',
|
|
},
|
|
proxyTimeout: 300000, // 5 minutes for large file proxying
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: `${process.env.API_URL || 'http://backend:5827'}/api/:path*`,
|
|
},
|
|
{
|
|
source: '/health',
|
|
destination: `${process.env.API_URL || 'http://backend:5827'}/health`,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|