chore: 服务骨架(Hono+TS+vitest+eslint,health 路由与探活注册点)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { Hono } from 'hono';
|
||||
import { healthRoute } from './health';
|
||||
|
||||
export function buildApp(): Hono {
|
||||
const app = new Hono();
|
||||
app.route('/health', healthRoute());
|
||||
return app;
|
||||
}
|
||||
Reference in New Issue
Block a user