diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-01-18 19:21:47 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-18 19:21:47 -0500 |
| commit | 5c8b87224e53078bfb0737e93a4f02d857bb9be2 (patch) | |
| tree | 0d47418094ec504d3a02f14a7c171e3d8a9a258a /cmd/anubis/static | |
| parent | 93ce8b380b580e10030e8babdc0b128b7821756d (diff) | |
| download | x-5c8b87224e53078bfb0737e93a4f02d857bb9be2.tar.xz x-5c8b87224e53078bfb0737e93a4f02d857bb9be2.zip | |
cmd/anubis: compare the leading zeroes
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/anubis/static')
| -rw-r--r-- | cmd/anubis/static/js/main.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/anubis/static/js/main.mjs b/cmd/anubis/static/js/main.mjs index d13e1ad..272973b 100644 --- a/cmd/anubis/static/js/main.mjs +++ b/cmd/anubis/static/js/main.mjs @@ -42,6 +42,6 @@ const u = (url = "", params = {}) => { setTimeout(() => { const redir = window.location.href; - window.location.href = u("/.within.website/x/cmd/anubis/api/pass-challenge", { response: hash, nonce, redir, elapsedTime: t1 - t0 }); + window.location.href = u("/.within.website/x/cmd/anubis/api/pass-challenge", { response: hash, nonce, redir, elapsedTime: t1 - t0, difficulty }); }, 2000); })();
\ No newline at end of file |
