diff --git a/next.config.mjs b/next.config.mjs index ccbb45b..e5d6b34 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -95,6 +95,10 @@ const nextConfig = { source: "/action/:path*", // Match any other routes starting with /action/ destination: `${process.env.WORKSPACE_BASE_URL}/api/proxy?path=/action/:path*`, // Forward them to proxy.js }, + { + source: "/api/content-upload/get-status/:path*", // Match //api/content-upload/get-status/ routes + destination: `${process.env.WORKSPACE_BASE_URL}/api/content-upload/get-status/:path*`, // Forward to workspace get-status API + }, { source: "/api/:path*", // Match /api/ routes destination: `${process.env.WORKSPACE_BASE_URL}/api/proxy?path=/api/:path*`, // Forward them to proxy.js