Files
Magent/frontend/next.config.js
T
Assclaw ce756c1a65
Magent CI/CD / verify (push) Successful in 2m1s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Skipped
Restore monitoring on recheck and prevent release-search proxy timeouts
2026-09-13 19:47:36 +12:00

17 lines
351 B
JavaScript

const backendUrl = process.env.BACKEND_INTERNAL_URL || 'http://backend:8000'
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: { proxyTimeout: 180000 },
async rewrites() {
return [
{
source: '/api/:path*',
destination: `${backendUrl}/:path*`,
},
]
},
}
module.exports = nextConfig