2026-04-20 20:37:32 +08:00
|
|
|
import Router from '@koa/router'
|
2026-04-21 12:35:48 +08:00
|
|
|
import * as ctrl from '../controllers/health'
|
2026-04-20 20:37:32 +08:00
|
|
|
|
|
|
|
|
export const healthRoutes = new Router()
|
|
|
|
|
|
2026-04-21 12:35:48 +08:00
|
|
|
healthRoutes.get('/health', ctrl.healthCheck)
|
2026-04-20 20:37:32 +08:00
|
|
|
|
2026-04-21 12:35:48 +08:00
|
|
|
export { startVersionCheck } from '../controllers/health'
|