AudioForge / frontend /next.config.js
OnyxlMunkey's picture
Merge branch 'main' of https://github.com/kwizzlesurp10-ctrl/AudioForge
61b8f7d
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone', // For Docker deployment
images: {
domains: [],
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: (process.env.API_URL || process.env.NEXT_PUBLIC_API_URL || 'http://backend:8000') + '/api/:path*',
},
];
},
};
module.exports = nextConfig;