agentic-os/newspaper-extractor/frontend/next.config.ts

15 lines
254 B
TypeScript

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