Skip to content

Commit

Permalink
Merge pull request #4277 from airqo-platform/hf-mailer-paths
Browse files Browse the repository at this point in the history
more stable approach for paths configuration
  • Loading branch information
Baalmart authored Jan 24, 2025
2 parents 710a302 + aa94e76 commit 742c85b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth-service/utils/common/mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const processString = (inputString) => {
return uppercasedString;
};

// const projectRoot = path.join(__dirname, "..", "..", ".."); // Go three levels up
const projectRoot = "/usr/src/app";
const projectRoot = path.join(__dirname, "..", ".."); // Go two levels up
// const projectRoot = "/usr/src/app";
const imagePath = path.join(projectRoot, "config", "images");

let attachments = [
Expand Down

0 comments on commit 742c85b

Please sign in to comment.