Files
lash/templates/share.html
vxclutch 71ffad466b save
2026-05-27 08:30:51 -04:00

27 lines
538 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lash v{{.Version}}</title>
</head>
<body>
<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>