Add support for optional human challenge

This commit is contained in:
Andrey Antukh 2024-09-05 15:28:24 +02:00
parent edeb16bc26
commit d88f28f5c2
5 changed files with 61 additions and 2 deletions

View file

@ -415,6 +415,13 @@ async function generateTemplates() {
await fs.writeFile("./resources/public/index.html", content);
content = await renderTemplate(
"resources/templates/challenge.mustache",
{},
partials,
);
await fs.writeFile("./resources/public/challenge.html", content);
content = await renderTemplate(
"resources/templates/preview-body.mustache",
{