This commit is contained in:
2026-09-25 09:53:16 +05:30
parent 00317a00d8
commit db84a9a752
6 changed files with 317 additions and 1 deletions

View File

@@ -40,4 +40,12 @@ func RegisterRoutes(app *fiber.App, f *facade.Facade) {
RegisterUploadRoutes(api, f)
RegisterScanRoutes(api, f)
RegisterAssistantRoutes(api, f)
// What is running here.
//
// Registered on `api` and NOT under `/v1/web`, so it answers without a
// session — which is the whole point. The question it exists for is "why
// does nothing work", and a health check that needs a working credential
// cannot answer that. It returns booleans and a build id, never values.
api.Get("/v1/health", f.HealthController.Health)
}