0.12.11 : fix template again
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 7m22s

This commit is contained in:
2025-11-30 21:43:22 +01:00
parent 5428ceb17b
commit ddf2ced098
4 changed files with 170 additions and 3 deletions

View File

@@ -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