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