From 974eac2aa83891898af67b43089722b44d6ec54d Mon Sep 17 00:00:00 2001 From: baalmart Date: Fri, 24 Jan 2025 12:46:29 +0300 Subject: [PATCH] manually fixing a path --- src/auth-service/utils/common/mailer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/auth-service/utils/common/mailer.js b/src/auth-service/utils/common/mailer.js index 449a644aa8..99d2035e79 100644 --- a/src/auth-service/utils/common/mailer.js +++ b/src/auth-service/utils/common/mailer.js @@ -21,7 +21,8 @@ const processString = (inputString) => { return uppercasedString; }; -const projectRoot = path.join(__dirname, "..", "..", ".."); // Go three levels up +// const projectRoot = path.join(__dirname, "..", "..", ".."); // Go three levels up +const projectRoot = "/usr/src/app"; const imagePath = path.join(projectRoot, "config", "images"); let attachments = [