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