Skip to content

Commit

Permalink
enhanced redirect telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazi-pikachu committed Aug 22, 2023
1 parent d39a38d commit 92154f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/api/src/app/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ export class AppController {
linkId:redirectedLink.id,
routeName: `/${hashid}}`,
queryParams : redirectedLink?.params,
link: reRouteURL,
originalUrl: redirectedLink?.url,
redirectUrl: reRouteURL,
}
);
return res.redirect(302, reRouteURL);
Expand Down

0 comments on commit 92154f7

Please sign in to comment.