Files
mta-sign/mta-sign-ui/next.config.js
2026-01-20 21:48:33 -05:00

20 lines
465 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
images: {
unoptimized: true,
},
// Rewrites only work during development (next dev)
// They are ignored during static export build
rewrites: async () => {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8000/api/:path*',
},
]
},
}
module.exports = nextConfig