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:
@@ -14,7 +14,7 @@
|
||||
"name": "Apache 2.0",
|
||||
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
},
|
||||
"x-generation-date": "2025-11-30T20:21:42.995Z"
|
||||
"x-generation-date": "2025-11-30T20:43:11.125Z"
|
||||
},
|
||||
"x-strapi-config": {
|
||||
"plugins": [
|
||||
|
||||
@@ -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