Skip to content

Commit

Permalink
Logging for file upload url
Browse files Browse the repository at this point in the history
  • Loading branch information
Brijesh committed Jan 8, 2025
1 parent 894b786 commit bfab021
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/router/routes_v1/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ router.get(

const publicUrl = publicEndPoint ? url.replace(endPoint, publicEndPoint) : url;

console.log(publicUrl);
console.log(cleanProductionURL(publicUrl));
console.log(process.env.NODE_ENV);
res.json({
url: process.env.NODE_ENV === 'production' ? cleanProductionURL(publicUrl) : publicUrl,
});
Expand Down

0 comments on commit bfab021

Please sign in to comment.