mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 21:48:29 +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
18
frontend/resources/templates/challenge.mustache
Normal file
18
frontend/resources/templates/challenge.mustache
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Penpot - Challenge</title>
|
||||
<link rel="icon" href="images/favicon.png" />
|
||||
|
||||
<script>
|
||||
var params = new URL(document.location.toString()).searchParams;
|
||||
var redirectPath = params.get("redirect");
|
||||
setTimeout(() => {
|
||||
location.href = "/#" + redirectPath;
|
||||
}, 100);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue