temp remove local-microapp
This commit is contained in:
16
src/route.ts
16
src/route.ts
@@ -14,3 +14,19 @@ createAuthRoute({
|
||||
// app.importApp(adminApp);
|
||||
|
||||
// appendTo(app);
|
||||
|
||||
app
|
||||
.route({
|
||||
path: 'test',
|
||||
key: 'test',
|
||||
})
|
||||
.define(async (ctx) => {
|
||||
ctx.body = app.router.routes.map((item) => {
|
||||
return {
|
||||
path: item.path,
|
||||
key: item.key,
|
||||
description: item.description,
|
||||
};
|
||||
});
|
||||
})
|
||||
.addTo(app);
|
||||
|
||||
Reference in New Issue
Block a user