This commit is contained in:
2026-09-16 11:42:06 +05:30
parent bf5a9026fe
commit 25bc33975c
7 changed files with 482 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import (
"doormile/config"
"doormile/controllers"
"doormile/db"
"doormile/internal/sms"
"doormile/internal/ws"
"doormile/middlewares"
@@ -73,6 +74,15 @@ func RegisterRoutes(app *fiber.App, cfg *config.Config) {
"checks": fiber.Map{
"postgres": dbStatus,
"redis": redisStatus,
// Reported, but deliberately NOT gating readiness: the miler and
// console surfaces work perfectly without SMS. It is here because
// 'the OTP never arrived' was answerable only by reading code, and
// for this service's whole life the answer has been that no gateway
// was ever registered.
"sms": fiber.Map{
"transport": sms.Transport(),
"configured": sms.Configured(),
},
},
})
})