038e09b202
specially when running a multi-arch cluster and HA with poor observability. a `time.Duration` was being casted to an `int` (because I clearly have no clue of what I'm doing). All is well on 64-bit processors, but 32-bit processors choke on the very long micro-second precision int, overflow, and turn `7d`, around `604800` seconds into `-114753536` seconds, which the browser happily (and correctly) turns into a cookie sent to /dev/null. lol.
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>puerta@nidi.to</title>
|
|
<link rel="stylesheet" href="https://cdn.rob.mx/css/fonts.css" />
|
|
<link rel="stylesheet" href="https://cdn.rob.mx/nidito/index.css" />
|
|
<link rel="stylesheet" href="/static/index.css" />
|
|
<!-- link rel="manifest" href="/static/manifest.webmanifest" /-->
|
|
</head>
|
|
<body>
|
|
<header id="main-header">
|
|
<div class="container">
|
|
<h1>Puerta</h1>
|
|
<p>Ábrete sésamo</p>
|
|
</div>
|
|
</header>
|
|
<main class="container">
|
|
<form id="open" method="post" action="/open">
|
|
<button id="rex">Abrir</button>
|
|
</form>
|
|
</main>
|
|
<script type="module" src="https://unpkg.com/@github/webauthn-json@2.0.2/dist/esm/webauthn-json.browser-ponyfill.js"></script>
|
|
<script type="module" src="/static/index.js" async="async"></script>
|
|
</body>
|
|
</html>
|