download index
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-09-23 04:44:36 +02:00
parent 755e88ba07
commit 9f4c3aaa8a

View File

@ -513,8 +513,7 @@ module.exports = (app, client) => {
match_all: {}
}
}, { asStream: true })
chain([
result,
result.pipe(chain([
parser(),
data => data.value.hits.hits,
streamArray(),
@ -527,7 +526,7 @@ module.exports = (app, client) => {
}),
stringer(),
zlib.createGzip()
]).pipe(res, { end: true })
])).pipe(res, { end: true })
} catch (e) {
console.error(e)
res.status(404).end()