Добавлен маршрут / с кодом 200
All checks were successful
Build and push Docker image / build (push) Successful in 49s

This commit is contained in:
2025-10-03 13:38:15 +04:00
parent dc2a9c0a92
commit 0100619c72

View File

@@ -48,7 +48,6 @@ async function getServiceStatusCode(service, node_id_or_name = null) {
}
}
app.get('/health/:service/:node', async (req, res) => {
const service = req.params.service
const node = req.params.node
@@ -75,7 +74,7 @@ app.get('/health/:service', async (req, res) => {
res.sendStatus(statusCode)
})
app.get('/', (_, res) => res.sendStatus(200))
app.use((_, response) => response.sendStatus(404))
const server = app.listen(PORT, () => {