openrag/frontend/next.config.ts
estevez.sebastian@gmail.com 2501c66ce4 frontend
2025-07-11 00:58:29 -04:00

14 lines
252 B
TypeScript

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