update
This commit is contained in:
@@ -19,7 +19,9 @@ app.route({
|
|||||||
path: 'router',
|
path: 'router',
|
||||||
key: 'list'
|
key: 'list'
|
||||||
}).define(async (ctx) => {
|
}).define(async (ctx) => {
|
||||||
ctx.body = app.router.getList();
|
ctx.body = {
|
||||||
|
list: app.router.getList()
|
||||||
|
}
|
||||||
}).addTo(app);
|
}).addTo(app);
|
||||||
|
|
||||||
export const db = useConfigKey('db', () => {
|
export const db = useConfigKey('db', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user