mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 00:26:37 +02:00
✨ Add support for optional human challenge
This commit is contained in:
parent
b2010e5fd8
commit
3f34aa92fa
5 changed files with 62 additions and 2 deletions
|
@ -333,6 +333,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", {
|
||||
manifest: manifest,
|
||||
translations: JSON.stringify(translations),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue