playgo_next / next.config.ts
ChenyuRabbitLove's picture
feat: optimize for-students and for-teachers page
5081fcb
raw
history blame contribute delete
299 Bytes
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;