Spaces:
Running
Running
File size: 368 Bytes
7a7972b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// API rewrites to proxy to FastAPI backend
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8000/api/:path*',
},
];
},
// Image optimization
images: {
remotePatterns: [],
},
};
export default nextConfig;
|