This repository has been archived on 2026-07-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drive/frontend/next.config.js
Elijah 724d70e58b
Some checks failed
Automated Container Build / build-and-push (push) Failing after 12s
Inital build
2026-05-22 12:29:43 -07:00

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;