saas_app/next.config.ts

16 lines
302 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
async rewrites() {
return [
{
source: '/api/v1/:path*',
destination: 'http://api_saas_api_homologacao:8000/api/v1/:path*',
},
];
},
};
export default nextConfig;