0.12.11 : fix template again
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 7m22s
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 7m22s
This commit is contained in:
@@ -52,7 +52,8 @@ module.exports = (plugin) => {
|
||||
const confirmUrl = `${process.env.NEXTJS_URL}/confirmation/submit?confirmation=${confirmationToken}`;
|
||||
|
||||
// Lecture du template HTML depuis le fichier
|
||||
const htmlPath = path.join(__dirname, "confirmation.html");
|
||||
|
||||
const htmlPath = path.join(process.cwd(), "public", "confirmation.html");
|
||||
let html = await fs.readFile(htmlPath, "utf-8");
|
||||
|
||||
// Remplacement des variables
|
||||
|
||||
Reference in New Issue
Block a user