diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-02-06 18:21:36 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-02-07 17:08:39 +0100 |
commit | af15108d24ee4ff2422d97b7c83d43140276fb9e (patch) | |
tree | 6a8d2300634b3b83b2217ea31f666a46376b8544 /server.js | |
parent | 9cd9264d7154005c5d8633165684bf83647b7b5b (diff) | |
download | server-af15108d24ee4ff2422d97b7c83d43140276fb9e.tar.gz |
Minor fixes.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -407,7 +407,7 @@ function must_pass_altcha(req, res, next) { return next() } -app.get("/altcha-challenge", async (req, res) => { +app.get("/altcha-challenge", function (req, res) { return res.json(altcha_create_challenge()) }) @@ -3261,7 +3261,7 @@ function make_concurrent_rounds(v, k, n) { let rbibd = designs.resolvable_bibd(v, k) if (rbibd) - return rbibd.slice(0, n).flat() + return [ rbibd.slice(0, n).flat() ] throw new Error("cannot create rounds for this configuration") } |