Add nostore to upload healthcheck and fix double-sort

This commit is contained in:
Alan Grainger
2026-10-20 09:39:37 +13:00
parent fc7670157b
commit 6ae80569ff
10 changed files with 115 additions and 68 deletions
+1 -4
View File
@@ -79,10 +79,7 @@ function bodyDeadline (ms: number): RequestHandler {
IPP answers `ok`, so the owner can tell which service a route reached.
*/
const healthcheck = healthcheckHandler('upload-ok')
app.get(['/healthcheck', '/share/healthcheck'], (_req, res, next) => {
addNoStoreHeaders(res)
next()
}, asyncHandler(healthcheck))
app.get(['/healthcheck', '/share/healthcheck'], asyncHandler(healthcheck))
const router = Router()