15 lines
295 B
JavaScript
15 lines
295 B
JavaScript
/** @type {import(next).NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
images: { unoptimized: true },
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/api/:path*",
|
|
destination: "http://backend:4000/api/:path*"
|
|
}
|
|
];
|
|
}
|
|
};
|
|
module.exports = nextConfig;
|