Skip to content

Commit

Permalink
PS-2796 fix: Handling get-status API in admin app ZIP file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rajnishdargan committed Dec 13, 2024
1 parent 791df6f commit 5cf7692
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cf7692

Please sign in to comment.