temp remove local-microapp

This commit is contained in:
2024-12-06 22:36:08 +08:00
parent b2d968b70d
commit 3efc3b3cc5
14 changed files with 362 additions and 560 deletions

View File

@@ -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);