Skip to content

Commit

Permalink
Merge pull request #421 from rajnishdargan/release-1.0.0
Browse files Browse the repository at this point in the history
PS-2796 fix: Handling get-status API in admin app ZIP file upload
  • Loading branch information
itsvick authored Dec 13, 2024
2 parents 791df6f + 5cf7692 commit f6b5f39
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 f6b5f39

Please sign in to comment.