Spaces:
Sleeping
Sleeping
File size: 296 Bytes
f6a1fd1 09ee276 f6a1fd1 f1b9d63 f6a1fd1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'standalone',
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8000/api/:path*' // FastAPI backend
}
]
},
};
export default nextConfig;
|