diff --git a/src/app.ts b/src/app.ts index 82f7d1e..be91f67 100644 --- a/src/app.ts +++ b/src/app.ts @@ -19,7 +19,9 @@ app.route({ path: 'router', key: 'list' }).define(async (ctx) => { - ctx.body = app.router.getList(); + ctx.body = { + list: app.router.getList() + } }).addTo(app); export const db = useConfigKey('db', () => {