This commit is contained in:
vxclutch
2026-05-27 08:30:51 -04:00
parent 060200c998
commit 71ffad466b
12 changed files with 175 additions and 66 deletions

View File

@@ -7,6 +7,20 @@
</head>
<body>
<h1><a href="/{{.UUID}}" download>{{.FileName}}</a></h1>
<form id="tform" action="localpage.html" method="POST">
<input name="token" id="token" placeholder="Enter token">
<button type="submit">Go</button>
</form>
</body>
<script>
await fetch('/api/receive-token', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ token: USER_TOKEN })
});
</script>
</html>