mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 20:56:37 +02:00
✨ Add support for optional human challenge
This commit is contained in:
parent
edeb16bc26
commit
d88f28f5c2
5 changed files with 61 additions and 2 deletions
|
@ -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",
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue