diff --git a/frontend/next.config.ts b/frontend/next.config.ts index f978856..cddd7ac 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -4,6 +4,14 @@ const nextConfig: NextConfig = { turbopack: { root: __dirname, }, + async rewrites() { + return [ + { + source: "/api/:path*", + destination: "http://backend:8000/:path*", + }, + ]; + }, images: { remotePatterns: [ {