Some checks failed
Automated Container Build / build-and-push (push) Failing after 12s
23 lines
500 B
JavaScript
23 lines
500 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: '100gb',
|
|
},
|
|
},
|
|
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;
|