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 c239fbb296
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m9s
Fix PDF thumbnails (ghostscript), 3MF viewer (official loader), PDF viewer (blob fetch)
2026-05-31 21:52:32 -07:00

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;