import { app } from '@/app.ts'; app .route({ path: 'check', }) .define(async (ctx) => { ctx.body = 'ok'; }) .addTo(app);