updates
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user