Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arati-tekdi committed Sep 27, 2024
1 parent f54acca commit f2c4026
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/common/middleware/middleware.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,11 @@ export class MiddlewareServices {
redirectUrlParts[redirectUrlParts.length - 1] = dynamicId;
forwardUrl = redirectUrlParts.join('/');
} else {
forwardUrl =
apiList[reqUrl].redirectUrl +
(originalUrl.split('?')[1] ? '?' + originalUrl.split('?')[1] : '');
forwardUrl = apiList[reqUrl].redirectUrl;
}
if (temp[1]) {
forwardUrl = forwardUrl + '?' + temp[1];
}
console.log('forwardUrl: ', forwardUrl);
}
const config = {
method: req.method,
Expand Down

0 comments on commit f2c4026

Please sign in to comment.